Which of the following queue container can expand or shrink from both directions?
(a) deque
(b) queue
(c) priority queue
(d) stack
I had been asked this question during a job interview.
I'd like to ask this question from More Containers topic in chapter Class Hierarchies, Library & Containers of C++