bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths
Learn/DSA

DSA

Shortest Path

Weighted shortest-path algorithms — Dijkstra's for non-negative edges, Bellman-Ford when negative weights are in play.

Lesson 1

DSA Shortest Path

The shortest path problem is famous in the field of computer science.

Read lesson →Loading…
Lesson 2

DSA Dijkstra's Algorithm

Dijkstra's shortest path algorithm was invented in 1956 by the Dutch computer scientist Edsger W. Dijkstra during a twenty minutes coffee break, while out shopping with his fiancée in Amsterdam.

Read lesson →Loading…
Lesson 3

DSA Bellman-Ford Algorithm

The Bellman-Ford algorithm is best suited to find the shortest paths in a directed graph, with one or more negative edge weights, from the source vertex to all other vertices.

Read lesson →Loading…

DSA chapters

All
1. DSA Tutorial2. Arrays3. Linked Lists4. Stacks & Queues5. Hash Tables6. Trees7. Graphs8. Shortest Path9. Minimum Spanning Tree10. Maximum Flow11. Time Complexity12. DSA Reference13. Practice