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.
well without the if condition if im returning a-b then time limit is exceeding ..what is with the length
return unsorted.sort((a,b) => BigInt(parseInt(a))- BigInt(parseInt(b)))
Big Sorting
You are viewing a single comment's thread. Return to all comments →
well without the if condition if im returning a-b then time limit is exceeding ..what is with the length return unsorted.sort((a,b) => BigInt(parseInt(a))- BigInt(parseInt(b)))