Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 446 Bytes

File metadata and controls

21 lines (16 loc) · 446 Bytes

Interval Scheduling

  • Given a set of lectures L={l1, ... ln } such that each lecture is defined by its start time and duration. The goal is present maximum number of lectures without any interval conflict.

  • Input:

        [start 1, ... start n] [duration 1, ... duration n]
  • Output:
        max_lectures

Running

    python code.py