CHALLENGE: Dijkstra's Algorithm | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

CHALLENGE: Dijkstra's Algorithm

Hi everyone. So, as the title, the challenge is to make The Dijkstra's Algorithm. The program is to solve the problem of the shortest way. Consider the following network: B - E - H / \ \ \ A - D - G - J \ / / / C - F - I Objectives: The user can enter the distances between the different cities by respecting the network. AB,AC,AD,BD,CD,BE,DG,CF,EG,FG,EH,GJ,FI,HJ and IJ. The program will return the shortest way from City A to J. All languages and methods are welcome. Good luck.

16th Feb 2018, 11:53 PM
Med Arezki
Med Arezki - avatar
3 Answers
+ 8
You may submit this as an assignment as an entry in Lesson Factory for it to be approved and published. :>
17th Feb 2018, 2:17 AM
Hatsy Rei
Hatsy Rei - avatar
+ 6
ok
17th Feb 2018, 7:13 AM
Oma Falk
Oma Falk - avatar