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.
hey, first I converted strings into bigdecimals and then inbuilt sort and then again convert back, but it was timing out for 3-4-6-7 testcase. then i read here that bigdecimal-string conversion is really slow. So i went with ur suggestion, string comaparator, still 6th testcase is timing out. why? can you help me out?
Big Sorting
You are viewing a single comment's thread. Return to all comments →
hey, first I converted strings into bigdecimals and then inbuilt sort and then again convert back, but it was timing out for 3-4-6-7 testcase. then i read here that bigdecimal-string conversion is really slow. So i went with ur suggestion, string comaparator, still 6th testcase is timing out. why? can you help me out?
@sourabhsingh @ryanfehr18 @ryanfehr18