Dijksta's algorithm

which test cases are failing

Hello @coolio.boy385,

You have missed a case:
When sum unreachable nodes(INT_MAX ), it is printing INT_MAX values instead of (-1)

I have modified your code:


It is passing the test case.

Hope, this would help.
Give a like if you are satisfied.