UCS 1312 Data Structures Lab Exercise 10: Priority queue using binary heap

$35.00

Download Details:

  • Name: Assignment-10-rneiw2.zip
  • Type: zip
  • Size: 10.32 KB

Category:

Description

5/5 - (1 vote)

Create a priority queue using max heap to store employee details with the fields:
Name, id, salary
• Insert the details of five employees into the binary heap such that highest paid
employee should be given priority.
• Relieve one employee from the binary heap.
• Display the tree after each operation.