← 返回 atlassian 的题目列表Expanding Tennis Club Court Scheduling
类型:online_judge
Implement a function that given a list of tennis court bookings with start and finish times, returns a plan assigning each booking to a specific court, ensuring each court is used by only one booking at a time and using the minimum amount of courts with unlimited number of courts available. An example of the booking record might look like:
Class BookingRecord:
Id: int // ID of the booking
Start_time: int
Finish_time: int