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.
Thank you. Your post was very helpful. I tried all 3 methods you said. Here were my runtimes for testcase #5:
1) > 4 seconds. Failed testcase #5
2) 2.28 seconds
3) 1.11 seconds for this final code
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 →
Thank you. Your post was very helpful. I tried all 3 methods you said. Here were my runtimes for testcase #5:
1) > 4 seconds. Failed testcase #5
2) 2.28 seconds
3) 1.11 seconds for this final code