Skip to content

Design Movie Rental System

A Hard coding interview problem in the Heap / Priority Queue pattern.

Likely pattern

Heap / Priority Queue

Always pull the current best element in log time.

Recognition cue: Top K, K closest, running median, or repeatedly taking the smallest / largest.

Learn first
Do not confuse it with

Topics

  • Array
  • Hash Table
  • Design
  • Heap (Priority Queue)
  • Ordered Set
  1. 1Hard
  2. 2Hard
  3. 3Hard
  4. 4Hard
  5. 5Hard
  6. 6Hard
  7. 7Hard
  8. 8Hard