In which data structure, elements can be added or removed at
either end, but not in the middle?
Answer Posted / poornakala
linked list is not right. its two way stack. double ended
queue can also cannot be as u need to have 4 pointers for
them... but two way stack needs 2 pointers and can only be
deleted and inserted at the end.
| Is This Answer Correct ? | 17 Yes | 8 No |
Post New Answer View All Answers
What is the function of stack?
What is circular queue in data structure?
What does stack top do?
What is difference between treeset hashset linkedhashset?
How would you swap the Kth node from beginning with Kth node from end in a Linked List.
How to find the duplicate in an array?
How many null values are allowed in hashmap?
Can you sort a hashset?
Are sets sorted?
Why merge sort is better than insertion sort?
Can arraylist contain duplicates?
How do you create a tree diagram?
What does simulation of queues mean?
What is a node in it?
Which is the parent class of hashmap class?