In which data structure, elements can be added or removed at
either end, but not in the middle?

Answers were Sorted based on User's Feedback



In which data structure, elements can be added or removed at either end, but not in the middle?..

Answer / guest

stack

Is This Answer Correct ?    0 Yes 0 No

In which data structure, elements can be added or removed at either end, but not in the middle?..

Answer / rajesh

Deque or double ended queue is answer

Is This Answer Correct ?    0 Yes 0 No

In which data structure, elements can be added or removed at either end, but not in the middle?..

Answer / guest

dequeue

Is This Answer Correct ?    1 Yes 2 No

In which data structure, elements can be added or removed at either end, but not in the middle?..

Answer / siya

stack and queue

Is This Answer Correct ?    0 Yes 1 No

In which data structure, elements can be added or removed at either end, but not in the middle?..

Answer / prasanna

Stack
Queue
Deck

Is This Answer Correct ?    6 Yes 10 No

In which data structure, elements can be added or removed at either end, but not in the middle?..

Answer / reehan

Ya Swapna..i think u r absolutely rite :)...thanks a lot;)

Is This Answer Correct ?    1 Yes 6 No

In which data structure, elements can be added or removed at either end, but not in the middle?..

Answer / kalyani

stack, queues

Is This Answer Correct ?    0 Yes 5 No

In which data structure, elements can be added or removed at either end, but not in the middle?..

Answer / guest

stack

Is This Answer Correct ?    0 Yes 10 No

In which data structure, elements can be added or removed at either end, but not in the middle?..

Answer / shankar

link list is wrong answer.there are two ds 1)satck and 2)Queue

Is This Answer Correct ?    5 Yes 17 No

In which data structure, elements can be added or removed at either end, but not in the middle?..

Answer / mohan

Stack

Is This Answer Correct ?    3 Yes 17 No

Post New Answer

More Data Structures Interview Questions

What are the disadvantages of using collection classes over arrays?

0 Answers  


Which sorting has less time complexity?

0 Answers  


Define binary tree insertion.

0 Answers   Tech Mahindra,


How to find 3rd element from end in a linked list in one pass?

0 Answers  


What do you mean by an Array?

0 Answers  






What is a map programming?

0 Answers  


Is sorting a math skill?

0 Answers  


What is a sorting algorithm in data structure?

0 Answers  


What is a hashset?

0 Answers  


Advanced problems related to Data Structures were asked

0 Answers   Motorola,


Why do we use collections?

0 Answers  


What are the difference between arraylist and linkedlist from the perspective of sorting?

0 Answers  


Categories