Skip to content

Files

Latest commit

238dacf · May 30, 2020

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 30, 2020
Dec 1, 2019
Dec 1, 2019

<< [21] Number of classrooms required given schedule >>

Given an array of time intervals (start, end) for classroom lectures (possibly overlapping), find the minimum number of rooms required.

Example:

>>> coding_problem_21([(30, 75), (0, 50), (60, 150)])
2