3 ms·
If the standard says it needs to be O(1) then you implement it that way and have a different list for fast splicing if needed.
by protomyth 13y ago
If the standard says it needs to be O(1) then you implement it that way and have a different list for fast splicing if needed.