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.
Same here with Java. I could not pass the 7th test case for days and I unlocked the solutions, wich got 100 points. Run them - they timeout on the 7th test case as well.
Conceptially these solutions are the same as my. Some contain custom input stream readers, which of course improves the performance, but is not the point of the excersize (and it does not help anyway).
The test cases should be designed better. If you came up with a dicent algo and did not do any stupid implementation errors then it should pass.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Rust & Murderer
You are viewing a single comment's thread. Return to all comments →
Same here with Java. I could not pass the 7th test case for days and I unlocked the solutions, wich got 100 points. Run them - they timeout on the 7th test case as well.
Conceptially these solutions are the same as my. Some contain custom input stream readers, which of course improves the performance, but is not the point of the excersize (and it does not help anyway).
The test cases should be designed better. If you came up with a dicent algo and did not do any stupid implementation errors then it should pass.