in reply to Better algorithm for Number Place Puzzle
|
Hmm. Let's try a 2 x 2 version. The initial grid is
obviously. Now you need to fill in
Clearly, as you move across, you need to shift rows:
And as you move down, you need to shift columns:
note that the lower left grid is just the upper left grid with columns shifted along. Finally,
it turns out that the column shift from the grid above, and the row shift from the grid to the left, give identical results. |
|
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Better algorithm for Number Place Puzzle
by blokhead (Monsignor) on May 23, 2004 at 23:27 UTC |