Which of the following queue container can expand or shrink from both directions?

Lâm Phung

New member
Which of the following queue container can expand or shrink from both directions?
A. deque
B. queue
C. priority queue
D. stack
 
Answer: a
Explanation: Deque is a short form for a doubly ended queue which can be expanded and shrinked from any side of the queue either from the front or from the back.
 

Tìm kiếm

Back
Top