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