Sudoku solver

Chris Angelico rosuav at gmail.com
Mon Mar 30 05:13:22 EDT 2015


On Mon, Mar 30, 2015 at 7:57 PM, Ian Kelly <ian.g.kelly at gmail.com> wrote:
> On Mon, Mar 30, 2015 at 2:16 AM, Dave Angel <davea at davea.name> wrote:
>> The relationship between row, column and box can be rearranged.  Some of
>> these are already covered by the rotations proposed earlier, where for a 90
>> degree rotate, row becomes column and column becomes row.  But in a similar
>> way each box could become a column, and so on.
>
> I don't think this one is valid. The intersection of a row and a
> column is one cell. The intersection of a row and a box is three
> cells. If you swap a column with a box, you're changing the
> relationships between the squares and the result will not be
> isomorphic to the original.

But if you swap *every* column with *every* box?

ChrisA



More information about the Python-list mailing list