Ascending priority queue is a collection of items which can be inserted aurbitarly and which can be removed smallest item. Descending priority queue is similar to ascending priority queue but it allows the deletion of the largest item.
Chat with our AI personalities
A circular queue is similar to the normal queue with the difference that queue is circular queue ; that is pointer rear can point to beginning of the queue when it reaches at the end of the queue. A priority queue is a queue in which each element is inserted or deleted on the basis of their priority. A higher priority element is added first before any lower priority element. If in case priority of two element is same then they are added to the queue on FCFS basis (first come first serve).
She enjoys doing 'spot the difference' puzzles.There is a difference between happy and sad.What is the difference between these two cakes?
what is the difference between ERD and UML Flowcharts.
1
what is the difference between commutative and symmetric properties