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

O(n) means it takes less than or equal to linear time to preform the operation. So if an operation is O(1), it is also O(n).



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: