In which data structure, elements can be added or removed at
either end, but not in the middle?

Answer Posted / achintya shankar adhikari

it must b DEQUEUE,where elements can be added or removed at
either end,but not from the middle end..

Is This Answer Correct ?    25 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the space complexity of selection sort?

551


What is the difference between arraylist and hashmap?

430


Is quicksort greedy algorithm?

509


How can I search for data in a linked list?

560


Can treeset have duplicates?

526






What is time and space complexity of bubble sort?

446


What is peek in stack?

451


Differentiate between hashmap and treemap.

510


Explain binary representation?

495


Define 2-3 tree?

564


What is a treemap used for?

479


What is an acyclic graph?

605


Is array a data structure?

506


Why do we need algorithm?

492


What happens if we try to insert duplicate key in hashmap?

423