X-Wing
Strategy:
Basic FishRequires:
Locked CandidatesOverview
X-Wing is a fish pattern using two rows and two columns. When a candidate appears in exactly two cells in two different rows, and these four cells share the same two columns, the candidate can be eliminated from other cells in those columns.
How It Works
- Find a candidate that appears in exactly two cells in a row.
- Find another row where the same candidate appears in exactly two cells in the same columns.
- These four cells form a rectangle. The candidate must be in two diagonal corners.
- Eliminate the candidate from other cells in those two columns.
Example
Starting position
Look for X-Wing.
Scan base columns 4 and 8 for 3
Base columns: 4 and 8. Check where digit 3 can appear in those columns.
r1c4 is already filled
r1c4 is already filled with 4.
3 is blocked from r3c4 by the row
Digit 3 cannot go in r3c4 because r3c2 is already in this row. Remove the entry or choose a different digit.
r4c4 is already filled
r4c4 is already filled with 9.
3 is blocked from r6c4 by the row
Digit 3 cannot go in r6c4 because r6c1 is already in this row. Remove the entry or choose a different digit.
r7c4 is already filled
r7c4 is already filled with 2.
3 is blocked from r8c4 by the row
Digit 3 cannot go in r8c4 because r8c5 is already in this row. Remove the entry or choose a different digit.
3 is blocked from r9c4 by row and box
Digit 3 cannot go in r9c4 because r9c3 is in this row and r8c5 is in this box. Remove the entry or choose a different digit.
r1c8 is already filled
r1c8 is already filled with 6.
r3c8 is already filled
r3c8 is already filled with 1.
r4c8 is already filled
r4c8 is already filled with 4.
r6c8 is already filled
r6c8 is already filled with 9.
r7c8 is already filled
r7c8 is already filled with 7.
3 is blocked from r8c8 by the row
Digit 3 cannot go in r8c8 because r8c5 is already in this row. Remove the entry or choose a different digit.
3 is blocked from r9c8 by the row
Digit 3 cannot go in r9c8 because r9c3 is already in this row. Remove the entry or choose a different digit.
3 is confined to rows 2 and 5
In each of these 2 columns, digit 3 is confined to the same 2 cover rows: 2 and 5.
The pattern forms a X-Wing
That forms a X-Wing: the cover rows must hold the digit for the base columns, so other columns cannot keep it there.
Extra 3 candidates in rows 2 and 5
These are the extra 3 candidates in rows 2 and 5 that must be removed: r2c6, r5c6, r5c7 and r5c9.
Remove 3 from rows 2 and 5
Remove 3 from the extra cells in rows 2 and 5: r2c6, r5c6, r5c7 and r5c9.
Result
Result after applying the technique.
Tips & Patterns
- X-Wings work on rows (eliminating from columns) or columns (eliminating from rows).
- Look for candidates with exactly 2 occurrences per row/column.
- The pattern forms a rectangle - visualize the 'X' shape.