Google Interview Question

Leetcode Medium, graph traversals and dynamic programming