LinkedIn Interview Question

BFS and DFS basic tree questions