Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> If the keys are not too long, radix sort is O(n) and faster.

More precisely, if the key length is w, then radix sort is O(w n) operations. In particular, if the n elements are distinct integers for example, w is greater than log(n).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: