You are viewing a single comment's thread. Return to all comments →
Looking at other solutions, I think you can save more time by not creating a list, but sorting in place.
Seems like cookies are disabled on this browser, please enable them to open this website
Merge Sort: Counting Inversions
You are viewing a single comment's thread. Return to all comments →
Looking at other solutions, I think you can save more time by not creating a list, but sorting in place.