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.
The very first test inputs need to be CONCISE which covers all the corner cases. I pass the first test case and then baaaaam, a case with 100000 inputs where I cannot easily debug and find where the difference in my output is. You are not helping anyone
Please for the love of god put smaller test cases at the beginning where it is easy to see the correctness of the algorithm. ONLY THEN put those 100000-input-cases where you need to measure performance.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Bigger is Greater
You are viewing a single comment's thread. Return to all comments →
THIS NEEDS TO CHANGE
The very first test inputs need to be CONCISE which covers all the corner cases. I pass the first test case and then baaaaam, a case with 100000 inputs where I cannot easily debug and find where the difference in my output is. You are not helping anyone
Please for the love of god put smaller test cases at the beginning where it is easy to see the correctness of the algorithm. ONLY THEN put those 100000-input-cases where you need to measure performance.