Every algorithm is specifically designed to solve a certain type of problem. Remember the definitions of the given types of shortest path problems and complete the table below.
Comparing the shortest path algorithms
Algorithmic goals
Report a typo
Choose one option for each row
| SSSP | All-pairs shortest path | Maze-Routing | |
|---|---|---|---|
| Dijkstra's algorithm — array implementation | |||
| Dijkstra's algorithm — heap implementation | |||
| Bellman-Ford algorithm | |||
| Johnson's algorithm | |||
| Floyd-Warshall algorithm | |||
| Lee's algorithm |
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.