- **Starting Node:** - Set the tentative distance to t…
- **Starting Node:**
- Set the tentative distance to the starting node as **0** because the distance from the starting node to itself is zero.
- **All Other Nodes:**
- Set the tentative distances to all other nodes as **infinity** (∞) to represent that they are initially unreachable.