# Minimum Operations to Write the Letter Y on a Grid II (LeetCode 3251)
Classify cells into Y-pattern vs outside; try all distinct digit pairs and count repaints.
Compare approaches on the [official website](https://www.linkjob.ai/).
Six constant candidate pairs beat a general DP here.