[C++] How to Use “deque” of STL
Last Updated on 2021-11-02 by Clay
deque is the double-ended queue container provided by C++ Standard Template Library (STL), it is similar with vector container, but if you want to add a new element to the beginning in a vector, the time complexity is O(N), but in a deque it is O(1).
Read More »[C++] How to Use “deque” of STL