Find shortest paths with Dijkstra's algorithm, step by step. Every step is labeled with the rule it uses and rendered in proper math notation, so you can follow how the answer comes together. Type in your problem to start. Free to use, no account required.
A-B:1, B-C:1, A-C:3 — path A→C → A-B-C, length 2