We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Hi
After trying for couple of days I decided to seek some advice.
I use Djikstra like @f2014044, but my code works for the Kingofhills's example.
My code fails on test cases 5,8,10-13. I downloaded 5 and 13 and they are big. Is there some input of "manageable" size?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Minimum Penalty Path
You are viewing a single comment's thread. Return to all comments →
Hi After trying for couple of days I decided to seek some advice. I use Djikstra like @f2014044, but my code works for the Kingofhills's example. My code fails on test cases 5,8,10-13. I downloaded 5 and 13 and they are big. Is there some input of "manageable" size?