Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What is the primary function of Dijkstra's algorithm?
Think about pathfinding in graphs.
Define a burnt vertex.
Consider this as a confirmed choice in optimization.
What type of algorithm is Dijkstra's?
Remember the type of choices made in Dijkstra's strategy.
True or False: Dijkstra’s algorithm can find shortest paths in graphs with negative cycles.
Consider the definition of a shortest path in terms of weights.
You are given a graph with a negative cycle. Formulate how you would approach finding the shortest path from a source vertex to a destination vertex. Discuss the potential outcomes.
Consider what happens in the presence of repeating paths.
Construct a graph with negative edges and no negative cycle. Use the Bellman-Ford algorithm to determine the shortest paths and explain your findings.
Reflect on how negative edges might still lead to a valid optimal path.
6 more questions in this section. Enroll free to practise them all.
Enroll free