Wizard interview question

BFS ,DFS graph based questions