+ 3

vector vs deque

Talking about efficiency. What is the difference between these two containers vector and deque?

1st May 2017, 1:52 PM
Mike Lorang
Mike Lorang - avatar
1 Réponse
+ 3
vector has efficient insertion at the end deque ( double ended queue ) has efficient at begining and end
1st May 2017, 2:26 PM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar