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

Are you referring to the fact that Big O has notation and concepts revolving around best-case/average case scenarios, as well as worst-case scenarios?




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: