Problem 1386 · Medium

Cinema Seat Allocation

Encode each reserved row as a seat bitmask, then test which of three four-seat blocks stay free.

Open the interactive visualisation