A _______ is a data structure that allows elements to be inserted from one end and removed from the other end.

  • Deque
  • Linked List
  • Queue
  • Stack
A deque (double-ended queue) is a data structure that allows elements to be inserted from one end and removed from the other end. This provides flexibility in adding and removing elements from both the front and rear, making it a versatile data structure.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *