Can you explain how find function works in STL C++ vector and what is its time complexity?
vector<int> v; if(find(v.begin(),v.end(),element)==v.end()) do this; else do this
Aucun commentaire:
Enregistrer un commentaire