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.
My python code is giving a runtime error on test case #5.
It passed all the test cases except Test Case #5. Test Case 2 took maximum time of 0.12s. Test case #5 gave runtime error in 0.62 s. Any suggestions on what is the problem?
My code.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Breadth First Search: Shortest Reach
You are viewing a single comment's thread. Return to all comments →
My python code is giving a runtime error on test case #5.
It passed all the test cases except Test Case #5. Test Case 2 took maximum time of 0.12s. Test case #5 gave runtime error in 0.62 s. Any suggestions on what is the problem? My code.