Lecture 20

Priority Queue

Learning Outcomes

At the end of this lecture, you’ll be able to:

Lecture Plan

In this lecture, we'll cover the following lessons:

  1. PriorityQueue ADT
  2. Submission class
  3. Sorting submissions
  4. Prioritizing Submissions
  5. Java's Comparator
  6. PriorityQueue Interface
  7. PriorityQueue: Implementation
  8. PriorityQueue: Tree Implementation
  9. Heap: Structure Property
  10. Heap: Order Property
  11. Heap: Ranked Array Representation
  12. Heap: Best
  13. Heap: Insert
  14. Heap: Remove
  15. Heap Operations: Exercise

Lessons marked with ⚡ contain exercise/activity.

Downloads