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 / ankita roy

double linked list

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 / deepak kamboj

Queue and Dqueue

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 / chandrashaker

the answers above said(linked lists,stacks,queues)are not correct answers.the correct answer is "dqueus" also called it as double ended queue in which we can insert all the elements from front and rear

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 / arockia dass

Enque and Deque is used to insert or remove an element at
the start or end of the queue

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 / saran

deque is the correct one because the elments can be added or removed in both direction ie front and rear.......
but not in the middle

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 / avinash bhardwaj

Queue

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 / sarmistha saha

double ended queue.

and i am sure about this

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 / pinky

a double ended queue

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

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 / mishthi

dequeue

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Is binary tree balanced?

0 Answers  


Why do we use data structures?

0 Answers  


What is inserting in data structure?

0 Answers  


What is height balanced tree?

0 Answers  


In rdbms, explain what is the efficient data structure used in the internal storage representation?

0 Answers  






Can we make hashmap synchronized?

0 Answers  


What is push and pop in stack?

0 Answers  


Why sorting algorithms are important?

0 Answers  


What is the default size of an arraylist?

0 Answers  


What is an example of an array?

0 Answers  


How to pass in data structure exam?

0 Answers  


What is a dequeue?

0 Answers  


Categories