Available question text
Given n rows of 10 seats and a list of reserved seats, maximize the number of four-person groups that can be placed on adjacent seats within a single row. Because n can be as large as 10^9 but the reserved list is small, treat rows with reservations sparsely (e.g., per-row bitmasks) and determine for each such row which 4-seat blocks remain free; rows without reservations can host two groups.
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 1386. Cinema Seat Allocation
Reported May 15, 2026 · 1 source report
STAFF
Source snapshot: Nov 12, 2026
View source