Meta Interview Question

Asked graph related questions with the need to solve with recursion