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

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 Summer 2015

Guidelines | FAQ | Support | API | Lists | Bookmarklet | DMCA | Y Combinator | Apply | Contact

Search: