1.

What Is A Priority Queue?

Answer»

The PRIORITY queue is a data structure in which the intrinsic ORDERING of the elements (numeric or alphabetic)

Determines the RESULT of its basic operation. It is of two TYPES:

i) Ascending priority queue- Here smallest item can be removed (insertion is ARBITRARY).
ii) Descending priority queue- Here largest item can be removed (insertion is arbitrary).

The priority queue is a data structure in which the intrinsic ordering of the elements (numeric or alphabetic)

Determines the result of its basic operation. It is of two types:

i) Ascending priority queue- Here smallest item can be removed (insertion is arbitrary).
ii) Descending priority queue- Here largest item can be removed (insertion is arbitrary).



Discussion

No Comment Found