Code AnalysisBeginner 60s
remove vs erase semantics
After `auto it = std::remove(v.begin(), v.end(), 3); v.erase(it, v.end());` on `{1,3,2,3,3}`, what is the final vector?
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.