In-place merge algorithm using up to O(n+m) swaps and no temp swap space | Hacker News Reader