by mm321 · 9y ago · 0 comments
* Random access - constant O(1)
* Insertion or removal of elements at the end or beginning - constant O(1)
* Insertion or removal of elements - linear O(n)
Also in glibc/libstdc++ it is one
https://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a015...[1] http://en.cppreference.com/w/cpp/container/deque
[2] https://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a015...
[3] https://github.com/llvm-mirror/libcxx/blob/master/include/de...