A Small Trick That Turns O(n) Vector Erase Into O(1)3 December 2025·Updated: 3 November 2026·Index: 3Cpp Programming