Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 289 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 289 Bytes

<< [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