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.
For all those using java, try using 'StringBuilder' instead of 'String' even for the storing the input.By using this, it took < 1 sec to execute that fifth test case.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
The Full Counting Sort
You are viewing a single comment's thread. Return to all comments →
For all those using java, try using 'StringBuilder' instead of 'String' even for the storing the input.By using this, it took < 1 sec to execute that fifth test case.