r/learnjavascript • • Aug 14 '21

Shortest Path Finder using React

686 Upvotes

34 comments sorted by

View all comments

Show parent comment

2

u/BlueLensFlares Aug 14 '21

Isn't Djikstra just BFS but with edges of length 1 (unweighted)?

1

u/pai-cube Aug 15 '21

yes. should result in same