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

It is the same notation in either case. The worst-case runtime of quicksort is O(n^2). The average runtime is O(n * log(n)).


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

Search: