Abstract


Negative Edge

May not work if there are negative Edge

Java Code Templates


Leetcode Question


Terminologies


Source Vertex

  • The starting node

Edge Relaxation

  • Update path for already known nodes as soon as we find a shorter path to reach it