why cant we use vectors if we want to do some deletions?

Revision en1, by CantLoseNow, 2022-10-31 15:14:56

i was seeing a solution of my question and i encountered this statement — "since we need to do some deletions here, we cant use vectors, since its not directly possible in vectors." my question is that dont we have the erase() function in vectors? then why not use it?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English CantLoseNow 2022-10-31 15:14:56 330 Initial revision (published)