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

Removing from any location is O(1), as is adding to any location you have a link to.

With a real linked list at least, not with std::list.



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

Search: