Dijkstra Algo testcase

Hackerrank question.
Test case 7 is insanely huge. It’s not getting passed.

Check out and help.

@anishanand3733 it’s insanely dense graph to be precise!
however it would pass with some optimizations!


you may check out my code it passes all tests!

1 Like

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.