Apx: In-place Merge Sort
Last updated
Last updated
Due the allocation nature of merge sort, and the absence of a holy grail sorting algorithm. Quick Sort still had long been seen as the most and only optimal sorting algorithm.
If we think about it, the last missing step of being able to come up with an in-place merge sort. Is for us to find a function that could merge 2 sorted ranged from an array in-place.
For future self, here were all the references I've gathered for this particular topic. (in-place merge sort/efficient in-place merge)
Fast forward in time, as for 2024. There had now been several practical algorithm that can achieve , as well as being stable.
Meanwhile, if we were to do some additional time researching, the best thing we have is in C++. Which still only operates in time.
StackOverflow:
StackOverflow:
StackExchange:
StackOverflow:
StackOverflow:
StackOverflow:
Several new algorithms were now being regarded as the , , and Block Sort itself now being seen as a new generation of space & time efficient sorting algorithms.
GitHub:
GitHub:
YouTube:
Rust:
GitHub:
ACM: