Problem 756 · Medium
Backtrack row by row, choosing allowed top blocks, and memoise rows that cannot be completed.
Open the interactive visualisation