โ† Medlife questions

Hotel Room Allocation

Filed under Medlife

The question

Given the number of rooms in a hotel and the arrival and departure times of every customer, check whether we can allocate rooms to all customers or not.

No write-up yet. Related questions below have one.

Related Medlife questions

Collected from public candidate posts and coding forums. Updated Nov 2026.