Question 152

A deque (double-ended queue) allows:

  1. AInsertion and deletion at both ends
  2. BInsertion only at the rear
  3. CDeletion only at the front
  4. DAccess only in the middle
Show answerHide answer

Correct answer: (A) Insertion and deletion at both ends

Explanation

Input- and output-restricted deques are special cases.

From DSSSB TGT Computer Science Full Mock Test 5

This is question 152 of DSSSB TGT Computer Science Full Mock Test 5. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.