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

Unless the number of "else if" statements somehow grows e.g. linearly with the size of your input, which isn't plausible, the "else if" statements also execute in O(1) time.


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

Search: