Cinema-Seat-Allocation.

(★ 9)

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 block can be used only if none of its seats are reserved. Each seat can be assigned to at most one group.

File Explorer

  • CODE FOR C
  • CODE FOR PYTHON
  • Explaination
  • LICENSE
  • Problem Statement.
  • README.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

// repository documentation