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

Many sorting algorithms that work on uniform distributions do exist and they often use plain old insertion sort under the hood. As I see it, Flashsort only exploits that by knowing the CDF beforehand, you can turn the data piecewise linear and then use more classic methods on that.


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

Search: