/Algorithms-in-CPP

Implementation of Dijkstra and Prim's algorithms in C++14.

Primary LanguageC++

Implementation of Dijkstra and Prim's algorithms in C++14

"sample_data.txt" should be in same directory with cpp file.

"sample_data.txt" includes integers and integer in the first line represents size of graph. Other lines have integers that carry data of 'from-to-cost' of edges respectively.