Click on Bellman-Ford algorithm on wikipedia to open the resource.