jeudi 27 septembre 2018

Time complexity of std::vector::erase on the beginning element of a vector

After taking a look at how vector.erase works I am unsure if the run time complexity of std::vector::erase on the first element of a vector. Would it be constant time?

Aucun commentaire:

Enregistrer un commentaire