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

Answer Posted / tasneem uddin

Double Ended Queue is the right answer.

Is This Answer Correct ?    25 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does arraylist remove do?

523


What is difference between array and arraylist?

522


State the different ways of representing expressions?

711


How to find if linked list has loop?

666


What is the method to find the complexity of an algorithm?

550






Write any two principles of gradation of structures.

595


How to print element of Array?

591


Does the minimal spanning tree of a graph give the shortest distance between any 2 specified nodes?

565


Which is faster hashmap or hashset?

480


How would you dynamically allocate a one-dimensional and two-dimensional array of integers?

583


Explain the Array

584


What do you mean by double hashing?

589


Is hashmap an object?

506


Define quadratic probing?

612


Write a Program for Delete an element from a doubly linked list.

501