Minimum Cars to Satisfy Rental Requests

Asked at Google · Coding Questions · Difficulty: Medium

A car rental company receives a list of booking requests. Each request needs one car for a time interval, and one car can serve many requests as long as their intervals do not overlap. Find the smallest fleet that can serve every request.

Loading the problem…