Meta Interview Question

Some graph problems from leetcode