DEV Community

Discussion on: Solution: Swim in Rising Water

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

seanpgallivan profile image
seanpgallivan Author

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