Dynamic Programming21 sections · 916 units
Open in Course

Challenge: Larger Tiles

Beyond dominoes

What if tiles are larger than 1×21 \times 2? Tetrominoes (1×41 \times 4) or square tiles (2×22 \times 2)? Larger tiles mean transitions look back multiple rows.

The profile might span 22 or more rows. State: represent the last kk rows, where kk is the tile height. State space grows to 2km2^{k \cdot m}. Practical limit: km20k \cdot m \leq 20 or so. Beyond that, state space is too large. The profile depth equals the tile height. Larger tiles exponentially increase the state space.