66.8k views
4 votes
Which list method allows elements in a sequence to be removed and added at either end of the structure?

a) index
b) queue
c) stack
d) deque
PLEASE HURRY

User Javic
by
7.3k points

2 Answers

7 votes

Answer:

B is right!

Step-by-step explanation:

User David Rosson
by
7.5k points
3 votes

Answer:

b) queue

Step-by-step explanation:

Queue is also an abstract data type or a linear data structure, just like stack data structure, in which the first element is inserted from one end called the REAR(also called tail), and the removal of existing element takes place from the other end called as FRONT(also called head).

User RedRaven
by
7.5k points