TEKsystems interview question

BFS, DFS, Dijkstra