If I have a size N array of objects, and I have an array of unique numbers in the range 1...N, is there any algorithm to rearrange the object array in-place in the or
There's a histogram sort, though the running time is given as a bit higher than O(N) (N log log n).