The XYZ-Wing technique involves three cells. One cell (called the pivot) has three candidate digits. The other two cells each have two candidate digits. The candidate digits in these three cells must fulfill certain relationships. Below, we will use a real Sudoku puzzle to demonstrate the Block-Row pattern of this technique.
6
7
9
4
6
1
4
7
8
2
3
8
1
2
3
8
9
2
3
8
1
7
9
1
9
2
7
8
2
8
9
1
8
9
1
3
1
3
3
7
3
7
8
9
8
9
6
8
2
4
6
7
2
4
7
2
6
7
8
2
7
6
8
6
7
9
1
7
9
1
2
9
6
7
8
1
2
8
1
6
1
6
In Figure 1, the pink cell (R3,C5) has three candidate digits 1, 8, and 9. Two yellow cells (R1,C6) and (R3,C1) each have two candidate digits. The yellow cell (R1,C6) shares the same 3x3 block with the pink cell, and they have two candidate digits 1 and 9 in common. The other yellow cell (R3,C1) shares the same row with the pink cell, and they have two candidate digits 8 and 9 in common. Also, all these three cells have a common candidate digit 9. These three cells form an XYZ-Wing (Block-Row) pattern.
6
7
9
4
6
1
4
7
8
2
3
8
1
2
3
8
9
2
3
8
1
7
9
1
9
2
7
8
2
8
9
1
8
9
1
3
1
3
3
7
3
7
8
9
8
9
6
8
2
4
6
7
2
4
7
2
6
7
8
2
7
6
8
6
7
9
1
7
9
1
2
9
6
7
8
1
2
8
1
6
1
6
Notice that the orange cells in Figure 2 are those cells falling in the common related area of the pink cell and both yellow cells. That means the orange cells are in the same row, in the same column, or in the same 3x3 block as the pink cell and each of two yellow cells.
There are three possibilities for the pink cell:
So, in any of these three cases, the orange cells cannot be 9. The candidate digit 9's in the orange cells can be removed, as shown in Figure 2.