Which of the following data structures can be used both as Stack and Queue?

Which of the following data structures can be used both as Stack and Queue?

  1. a) Vector
  2. b) Hash Table
  3. c) Deque
  4. d) Binary Search Tree

From the Combined Bank Assistant Programmer (CSE) March 2021 – Preliminary exam, question 22 of 86.

More from this paper