Which data structure allows insertion and deletion of elements from both ends?

Which data structure allows insertion and deletion of elements from both ends?

  1. a) Deque
  2. b) Queue
  3. c) Stack
  4. d) Linked list

From the BB Assistant Programmer February 2023 – Written (BIBM) exam, question 9 of 37.

More from this paper