In Dijkstra with nonnegative weights, which reachable unsettled node is settled next?
At the start of Dijkstra, what distance does the start node hold?
What does relaxing an edge to an unsettled neighbour mean?
A has settled distance 5. B is unsettled with best-known distance 12. The edge from A to B has weight 4. What distance should B hold after relaxing this edge?
Answer: ______________
After settling the start, why is the smallest finite unsettled distance safe to settle when all weights are nonnegative?
An undirected graph has only edges S-A:8, A-T:8, S-B:3, B-C:3, C-T:3. Ordinary BFS from S is guaranteed to find a cheapest route to T.
Circle one: True False
A directed graph has only these edges: S to A (7), S to B (2), B to A (1), A to T (3), B to T (9). Run Dijkstra from S. After settling S, B and A and relaxing each node's outgoing edges, which distance row is correct?
Dijkstra starts at M. The predecessor entries are Z: O, O: N, N: M. What route do they record from M to Z?