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

Tell me why might quick sort might be better than merge sort?

0 Answers  


Mention one advantage and disadvantage of using quadratic probing?

0 Answers  


What is an ordered list?

0 Answers  


Does linked list allow null values?

0 Answers  


What is a binary search tree? Explain with example?

0 Answers  






Does arraylist have index?

0 Answers  


How do you create a tree diagram?

0 Answers  


What do you mean by the term “percolate up”?

0 Answers  


Define 2-3-4 tree?

0 Answers  


What are the major data structures used in the network data model?

0 Answers  


Explain what is the bucket size, when the overlapping and collision occur at same time?

0 Answers  


Differentiate among cycle, path, and circuit?

0 Answers  


Categories