Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What does Dijkstra's algorithm aim to find?
Think about the routes in a graph.
Is Dijkstra's algorithm applicable for graphs with negative weight edges?
Recall what happens with negative cycles.
What type of algorithm is Dijkstra’s?
Recall the characteristics of Dijkstra's strategy.
Is it true that Dijkstra's algorithm can handle negative weights?
Think about the implications of negative paths.
Create a graph with vertices and edges, some with negative weights and demonstrate Dijkstra's failure.
Be sure to showcase a path where earlier choices seem optimal.
Explain how the use of a heap impacts the efficiency of Dijkstra's algorithm.
Think about the performance impact on large datasets.
5 more questions in this section. Enroll free to practise them all.
Enroll free