Priority Queues Exercises

  < Previous  Next >
Write down the results of the following priority queue operations and then compare with your neighbor(s):
  1. Insert 42
  2. Insert 3
  3. Insert 7
  4. Top
  5. Pop
  6. Top
  7. Pop
  8. Insert 99
  9. Top
  10. Pop
What's left in the priority queue (if anything)?

Last Modified: