Beginner
Data Structures & Algorithms
Q25 / 100
What is a deque (double-ended queue)?
Correct! Well done.
Incorrect.
The correct answer is B) A structure allowing insertion and deletion at both ends
B
Correct Answer
A structure allowing insertion and deletion at both ends
Explanation
A deque (pronounced "deck") supports push and pop from both front and back, generalizing both stacks and queues.
Progress
25/100