by castratikron · 10y ago · 0 comments
Radix sort is a linear time sort because the hardware (random access memory) is built to allow constant-time lookup of memory. Radix sort wouldn't be linear time on a sequential access memory system, like tape, but merge sort would still be O(NlgN) on such a system.
Under this assumption, a correctly implemented quicksort also runs in O(N) time.