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 problem I had... and resolved. In short, int->str conversions is costly, especially when large ints are involved (as they are on the test cases that will fail with that logic).
Big Sorting
You are viewing a single comment's thread. Return to all comments →
Same problem I had... and resolved. In short, int->str conversions is costly, especially when large ints are involved (as they are on the test cases that will fail with that logic).
https://www.hackerrank.com/challenges/big-sorting/forum/comments/326995