Skip to content

Latest commit

 

History

History
4 lines (4 loc) · 344 Bytes

explanation.md

File metadata and controls

4 lines (4 loc) · 344 Bytes

Explanation

Given a rectangular grid, determine whether it is possible to cover all empty cells (denoted by .) with 2x1 tiles.
Note: filled cells are marked as x and cannot be covered. We can solve this by adding an edge for every possible position, and then run maximum matching to see if the matching was exact (= 2 * free spots).