Available question text
Manage n seats numbered 1..n supporting reserve(), which returns and marks the smallest-numbered available seat, and unreserve(seat), which makes a seat available again; design must handle up to 1e5 operations efficiently (e.g., with a min-heap or ordered set).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
Meta
Leetcode 1845. Seat Reservation Manager
Reported Dec 1, 2025 · 1 source report
SENIOR
Source snapshot: Nov 12, 2026
View source