Search⌘ K
AI Features

The Number of the Smallest Unoccupied Chair

The Number of the Smallest Unoccupied Chair assigns each arriving friend the lowest available chair, with departures freeing chairs immediately. Given arrival and leaving times, return the chair used by a target friend.

Statement

At a party, ...