Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / ujjwal dave

Stack and Queue are also not correct because in stack
elements can be added and deleted only from one end.
In queue addition takes place at one end and deletion from
other.....
we want to add elements at both ends.....so deques is the
only correct answer

Is This Answer Correct ?    17 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention the data structures which are used in graph implementation.

875


What is difference between array and arraylist? When will you use array over arraylist?

978


How can we reverse the order in the treemap?

876


What is a directed graph?

949


In what order the elements of a hashset are retrieved?

969


State the advantages of using postfix notations?

1057


Is hashmap get thread safe?

864


Tell me the difference between structure and array?

983


Can the double-checked locking fail on a single processor system?

1020


Which is the parent class of printerstatereasons class?

884


Explain what is a spanning tree?

991


What is declaring array?

886


Can we insert null in list?

890


You want to insert a new item in a binary search tree. How would you do it?

898


Can you declare an array without assigning the size of an array?

1098