</>OfferRetriever
DashboardDiscuss
NEW

Summer Sale

Limited Time Deal: Unlock all premium questions for over 30% off

$10.42$7.08

14

:

03

:

43

:

59

Get this deal
Back to Dashboard

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

OfferRetriever

Master technical interviews with real questions from top companies. Build your confidence and career.

PRODUCT
PricingDashboardDiscussOfferRetriever vs LeetCode
LEGAL
POPULAR COMPANIES
GoogleMetaAmazonMicrosoftNetflixStripeUberTikTokBrowse all companies →

© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.