Please check if the code for the shortest path homework can be improved upon. (Programming Fundamentals - 2).
My code:- https://ide.codingblocks.com/s/350285
Shortest Path HomeWork
Hey @yashjain0112 your code goes in O(nk) complexity, therefore it’s a good implementation. Good work
Thank you! Found an error though, rectified it. Now it should work for any input!