In which data structure, elements can be added or removed at
either end, but not in the middle?
Answer Posted / megha jain
Link list is not the right ans as insertion and deletion
can also b in the middle..... ans is Deck(Double Ended
Queue)
| Is This Answer Correct ? | 23 Yes | 2 No |
Post New Answer View All Answers
How does insertion sort works?
How to use appendNode() in linkedlist()?
What are the types of data structures?
an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like. [ I ended up giving about 4 or 5 different solutions for this, each supposedly better than the others ].
Write a recursive c function to calculate the height of a binary tree.
Can we add duplicate keys in a hashmap?
What is a string array?
What are the disadvantages of linked list?
Which sorting is used in collections sort?
What is scalar data type?
What are the drawbacks of array implementation of queue?
What is a B tree?
Which is best book for data structures?
Define 2-3-4 tree?
What is an example of an array?