Question

You need to store a sequence of items where elements are always added to one end and removed from the other end. Which data structure is most suitable?

A Stack
B Queue
C Linked List
D Array
E Hash Map
Practice Next

Hey! Ask a query