DEV Community

Discussion on: Solution: Swim in Rising Water

Collapse
rohithv07 profile image
Rohith V

"Dijkstra's algorithm uses a depth first search (DFS) approach to a graph traversal," - isn't it BFS. I think it is BFS instead of DFS. Correct me if I am wrong

Collapse
seanpgallivan profile image
seanpgallivan Author

You're correct. I just rushed through that description too fast and didn't notice my mistake. Fixed!