Wizard Interview Question

BFS ,DFS graph based questions