wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

A data structure where elements can be added or removed at either end but not in the middle is called ____________.

A
Requeue
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Queues
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Dequeue
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
Linked lists
No worries! We‘ve got your back. Try BYJU‘S free classes today!
E
Stacks
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C Dequeue
Dequeue (double-ended queues) are the refined queues in which elements can be added or removed at either end but not in the middle. There are two variations of a dequeue- Input restricted dequeue and Output restricted dequeue.

flag
Suggest Corrections
thumbs-up
4
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Classification of Biomolecules
BIOLOGY
Watch in App
Join BYJU'S Learning Program
CrossIcon