leetcode.com 2026-08-19
🟡1386.cinema-seat-allocation
🏷️ Tags
#greedy #bit_manipulation #array #hash_table
🟡1386.cinema-seat-allocation
🏷️ Tags
#greedy #bit_manipulation #array #hash_table
Telegraph
cinema-seat-allocation
A cinema has n rows of seats, numbered from 1 to n. Each row has 10 seats, numbered from 1 to 10. You are given a 2D integer array reservedSeats, where reservedSeats[i] = [rowi, seati] means that seat seati in row rowi is already reserved. A four-person group…