3 ms·
> you don't need to innumerate every complete grid before eliminating them. Of course. For large grids, I wonder if you can eliminate everything that doesn't h
by xenophanes 17y ago
> you don't need to innumerate every complete grid before eliminating them.
Of course. For large grids, I wonder if you can eliminate everything that doesn't have nearly equal amounts of every color.
- Retric 17y agoYes, though I would try an construct a 9x9 grid, and then try tacking on 3 valid 8x8 grids, then add the filler. My guess is larger grids are more constrained than working with smaller independent grids. Also you could store the extra grids as part of a larger data structure and work your way up to them by testing valid 2x2 grids, which are subset's a valid 3x3 grid etc.