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

Does treemap allow duplicate keys?

0 Answers  


Define a linear and non linear data structure.

0 Answers  


Explain Array

0 Answers   Tech Mahindra,


Explain the term tail recursion?

0 Answers  


What is Another name of Dynamically allocating memory.

0 Answers  






Which sorting algorithm is best for small data?

0 Answers  


Is a hashmap a dictionary?

0 Answers  


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

1 Answers  


What is the difference between one and two dimensional?

0 Answers  


What is sequential sorting?

0 Answers  


What is mean by selection sort?

0 Answers  


What is the default capacity of hashmap?

0 Answers  


Categories