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

The other replies are great, but just to put it concisely: big O is ‘worst case’ in terms of input size, while the ‘best case big O’ is ‘best case’ in terms of the input contents (‘shape’).


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

Search: