- Code: Select all
*-----------------------------------------------------------------------------*
| 9 | | |
| 4 | 1 | 6 |
| 6 | 5 7 3 | |
|-------------------------+-------------------------+-------------------------|
| 5 | | 7 |
| 1 4 | 6 | 3 9 |
| 2 | | 8 |
|-------------------------+-------------------------+-------------------------|
| | 2 3 8 | 6 |
| 6 | 9 | 1 |
| | | 3 |
*-----------------------------------------------------------------------------*
*-----------------------------------------------------------------------------*
| 378 9 123578 | 46 28 46 | 257 78 1235 |
| 378 4 23578 | 89 1 29 | 257 6 235 |
| 6 12 128 | 5 7 3 | 249 89 124 |
|-------------------------+-------------------------+-------------------------|
| 5 38 69 | 13489 28 1249 | 16 24 7 |
| 1 78 4 | 78 6 25 | 3 25 9 |
| 2 37 69 | 1379 45 179 | 16 45 8 |
|-------------------------+-------------------------+-------------------------|
| 479 15 157 | 2 3 8 | 4579 79 6 |
| 3478 6 2378 | 47 9 457 | 2458 1 245 |
| 789 25 78 | 16 45 16 | 789 3 245 |
*-----------------------------------------------------------------------------*
Ok, using Mike's notation I'll try to explain the ALS...
- Code: Select all
+-------------------+------------------+-----------------+
| 378 9 123578 | 46 28 46 | 257 78 1235 |
| 378 4 23578 | 89 1 29 | 257 6 235 |
| 6 12 128 | 5 7 3 | 249 89 124 |
+-------------------+------------------+-----------------+
| 5 38 69 | -13489 *28 1249 | 16 24 7 |
| 1 78 4 | *78 6 *25 | 3 25 9 |
| 2 37 69 | 1379 *45 179 | 16 45 8 |
+-------------------+------------------+-----------------+
| 479 15 157 | 2 3 8 | 4579 79 6 |
| 3478 6 2378 | #47 9 457 | 2458 1 245 |
| 789 25 78 | 16 -45 16 | 789 3 245 |
+-------------------+------------------+-----------------+
Suppose r6c5 is 5.
Then r9c5 is 4.
But r5c6 is 2, r4c5 is 8, r5c4 is 7 and then r8c4 is 4.
Since r9c5 and r8c4 cannot both be 4, r6c5 cannot be 5!!!
When "n" numbers can be in "n" spots they are said to be "locked".
However when "n+1" numbers can be in "n" spots, they are "almost locked."
(78, 28, 45 and 25 are the "almost locked" 5 numbers in the 4 spots in the middle).
A better explanation is found at:
http://forum.enjoysudoku.com/viewtopic.php?t=2510