xennygrimmato / Data-Structures-and-Algorithms

A collection of some implementations of data structures and algorithms.
107 stars 93 forks source link

Added Dijkstra #33

Open imkp1 opened 5 years ago

imkp1 commented 5 years ago

Added a template of Dijkstra's algorithm and an AC code of MICEMAZE (https://www.spoj.com/problems/MICEMAZE/) .

xennygrimmato commented 5 years ago

@imkp1 Can you please rename MICEMAZE(Spoj).cpp to example.cpp. I want to keep the structure same across the repo, where all accepted submissions have the same name.

Apart from that, can you add a README.md to the Dijkstra folder with links to a few problems that use Dijsktra? I can then merge the PR to master.

imkp1 commented 5 years ago

Sir I have modified the template a bit. It doesn't return distance because it finds the distance of source to all destinations . Regarding the micemaze one and readme.md , I am doing it right now.

imkp1 commented 5 years ago

Did whatever was asked . Thanks.