3 ms·
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.
by Peaker 13y ago
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.