Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dr_win
on Feb 20, 2017
|
parent
|
context
|
favorite
| on:
Ruby `reject!`
Because you might be dead already. Which would be a weird edge case.
pmiller2
on Feb 20, 2017
[–]
No. O(1) just means the algorithm always takes no more than some arbitrary, but fixed amount of time to complete, regardless of the size of the input. That fixed amount of time could be a billion years (or more).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: