All mock tests are FREE till 31 December — register to save your progress
Unit 7 · Data Structures and Algorithms Paper 2 CS · December 2024

Which of the following uses only increment operations for adding and removing elements at either end?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: D. Deques

Explanation

A deque supports insertion and deletion at both ends. In its circular-array implementation the end pointers are moved by modular increments only, which is the intended answer.

More Data Structures and Algorithms questions