Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Retric
on April 14, 2011
|
parent
|
context
|
favorite
| on:
Show HN: Let's end the Programmer Salary Taboo
If you are inserting 3 into an indexed and sorted list (1,2,4,5) you can calculate the index of 3 in O(Log N). But you also need to update the index of 4, and 5 which is an O(N) operation.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: