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

The worst-case is indeed arbitrarily long, but the amortized runtime can be analyzed.

See: http://en.wikipedia.org/wiki/Amortized_analysis



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

Search: