Multiple choice

Which of the following statements is/are true about the double-ended queue?

  1. Double-ended queue is an abstract data type.

  2. In double-ended queue, elements can be added to or removed from either the front or back end.

  3. Double-ended queue is also called deque.

  4. All of the above

  5. Only (1) and (3) are true.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Yes, all are true statements about the double-ended queue.