what is mean by d-queue?

Answer Posted / sudhir & kranti

It is one of the special variation of queue which allows the elements to be inserted and removed at both ends (rear and front) but not at middle.
De-queue can be of 2 types
i)Input restricted de-queue: elements can be removed at both ends but insertion at one end.
ii)Output restricted de-queue: elements can be inserted at both ends but deletion at one end.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is sorting and classifying important?

469


What do you know about the big-o notation and can you give some examples with respect to different data structures?

495


Does stringutils isempty check for null?

432


Which language is best for learning data structures and algorithms?

499


What is the difference between hashmap and treemap?

438






How does hashset maintain order?

526


In what order the elements of a hashset are retrieved?

536


Define linear probing?

589


Are duplicates allowed in hashmap?

495


What is a cycle or a circuit?

609


What is subtree?

530


What are the different types of collections?

497


How to create your own data structure in java?

507


Describe what is Node in link list? And name the types of Linked Lists?

540


What is heap tree explain with example?

504