In which data structure, elements can be added or removed at
either end, but not in the middle?
Answer Posted / gopesh
IT is stack...because we can push or pop at one end.......it can be done using array where one side is fixed or using linked list where either head is kept constant or null node.....
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Define the term “percolate down”?
How to do the intersection of two sorted arrays?
What does quick sort do?
What are arrays used for?
If you do not initialize an array what will happen?
Why do we need sorting algorithms?
Define the term “percolate up”?
Define a stack?
What is a matrix?
What happens if an array goes out-of-bounds?
Define distributed query and linked server?
What will be the output of below code?
What is the difference between an array and vector?
Which is best array or linked list?
Define outdegree of a graph?