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 code worked for the above test case, and all test cases except #5 were passing, was pretty frustrating. Then I removed the boilerplate code, wrote my own and all of a sudden it passed #5, without changing anything else....
That's a really bad thing to have happen, the last place you expect to have to debug is the boilerplate code. Could mess things up big time if it doesn't occur to you that it might be wrong...and you just get more and more frustrated...
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
The Grid Search
You are viewing a single comment's thread. Return to all comments →
My code worked for the above test case, and all test cases except #5 were passing, was pretty frustrating. Then I removed the boilerplate code, wrote my own and all of a sudden it passed #5, without changing anything else....
That's a really bad thing to have happen, the last place you expect to have to debug is the boilerplate code. Could mess things up big time if it doesn't occur to you that it might be wrong...and you just get more and more frustrated...