retagged by
2,007 views
4 votes
4 votes

A ________ is a linear list in which insertions and deletions are made to from either end of the structure.

  1. Circular queue.
  2. Priority queue.
  3. Stack.
  4. Dequeue.
retagged by

4 Answers

1 votes
1 votes

(D).Dequeue

   Deque or Double Ended Queue is a generalized version of Queue data structure that allows insert and delete at both ends.

   Operations on Deque:
          insertFront(): Adds an item at the front of Deque.
          insertLast(): Adds an item at the rear of Deque.
         deleteFront(): Deletes an item from front of Deque.
         deleteLast(): Deletes an item from rear of Deque.

     

1 votes
1 votes

D) Dequeue.

Dequeue means double ended queue.It can act as queue from front as well as from rear side.Thats why both insertion and deletion is possible from either end.

1 votes
1 votes
The Option D

As in Dequeue, insertion and deletion can be done from both sides
Answer:

Related questions

4 votes
4 votes
1 answer
1
admin asked Mar 31, 2020
1,850 views
The number of unused pointers in a complete binary tree of depth $5$ is:$4$$8$$16$$32$
2 votes
2 votes
1 answer
2
admin asked Mar 31, 2020
2,412 views
The recurrence relation capturing the optimal execution time of the Towers of Hanoi problem with $n$ discs is:$T(n)=2T(n-2)+2$$T(n)=2T(n/2)+1$$T(n)=2T(n-1)+n$$T(n)=2T(n-1...
3 votes
3 votes
2 answers
3
admin asked Mar 31, 2020
2,549 views
Which of the following is the correct order of evaluation for the below expression? $z=x+y^*z/4\%2-1$$^*/\%+-=$$=^*/\%+-$$/^*\%-+=$$^*\% /-+=$
3 votes
3 votes
1 answer
4
admin asked Mar 31, 2020
887 views
What data structures is used for depth first traversal of a graph?QueueStackListNone of the above