Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
Coworking Desk Availability
Medium
A co-working space manages desk reservations throughout the day. Given the space's operating hours, its total desk capacity, and a list of bookings, compute all contiguous time intervals within operating hours and the number of desks available during each interval.
A booking reserves a given number of desks from a start time (inclusive) to an end time (exclusive). Multiple bookings can overlap. Available desks in an interval = capacity minus the total desks reserved by all bookings that overlap that interval. ...
Asked at:Pinterest
More Pinterest interview questions
- Degrees of Separationmedium
- Directory Permission Managermedium
- EV Charging Optimizermedium
- Audit Log Analyzermedium
- Remove a Forest Subtreemedium
- Scooter Street Ride Simulationeasy
- Distribute Ads Across Columnseasy
- Find Unallocated Bucket ID Rangesmedium
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.