Google Interview Question

Leetcode coding, BFS, Topological sort