Hacker Newsnew | comments | show | ask | jobs | submit login

Though with a gap buffer, you can have O(1) to insert/delete at some other point. Costs O(n) to move that point, though.



Applications are open for YC Winter 2016

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: