AutoX interview question

They asked a coding question involving implementing DFS/BFS for a graph search problem.