Skip to content

Instantly share code, notes, and snippets.

View aahutsal's full-sized avatar
🔥
Serving the people of Ukraine!

Arsen A. Hutsal aahutsal

🔥
Serving the people of Ukraine!
View GitHub Profile
// A C / C++ program for Bellman-Ford's single source shortest path algorithm.
// http://www.geeksforgeeks.org/dynamic-programming-set-23-bellman-ford-algorithm/
/* input
10 18
0 1 3
0 2 5
0 4 4
1 4 1