Uber interview question

Graph basic traversal questions around bfs DFS and mst