Place Tetris-like shapes in the first spot that fits

0
Remix

You have an n x m grid and a sequence of shapes from a small fixed set. Place the shapes one at a time, in order; each goes into the first position where it fits, scanning rows from top to bottom and, within a row, from left to right. Return the grid after all placements (or report a shape that does not fit).

MetaOnline assessmentLast asked Feb 2026
No answer yet. Write the first one; the best answer gets endorsed.