Different ways to remove elements from vector in C++ STL


This is a companion discussion topic for the original entry at http://iq.opengenus.org/ways-to-remove-elements-from-vector-cpp/

hey, i have a quick question… what is the time complexity of the alg insetion sort of an array with that pattern: BABABABA

???