Advanced Sudoku Strategies

Master X-Wings, Swordfish, and XY-Wings.

The Hierarchy of Advanced Sudoku Logic

When you transition beyond beginner and intermediate puzzles into Expert and Master difficulties, standard visual cross-hatching and simple counting no longer suffice. Puzzles at this level contain deliberate logical choke-points engineered to resist direct singleton deduction.

To break these deadlocks, elite solvers utilize candidate pencil markings and geometric pattern recognition. Below is the authoritative breakdown of advanced Sudoku strategies, categorized from fundamental subset exclusions to advanced single-digit fish and multi-cell wings.

Strategy Name Pattern Category Candidate Structure Difficulty Level
Pointing & Claiming Lines Locked Candidates 2–3 candidates aligned in a box/line Intermediate
Naked / Hidden Subsets Subset Exclusion Pairs, Triples, and Quads Intermediate–Advanced
X-Wing Fish (Order 2) 2 rows × 2 columns rectangle Advanced
Swordfish & Jellyfish Fish (Order 3 & 4) 3×3 and 4×4 parallel grids Expert
XY-Wing & WZ-Wing Bent Wings & Chains Bivalue pivot and pincer cells Master

1. Locked Candidates: Pointing & Claiming Pairs

Before searching for exotic wings, always check for Locked Candidates. These occur when candidate locations inside a 3×3 box are confined to a single row or column:

  • Type 1 (Pointing Pair): If candidate 6 in Box 2 is restricted solely to cells located in Row 1, that 6 must occupy one of those two cells. Therefore, candidate 6 can be completely eliminated from Row 1 across all other boxes (Boxes 1 and 3).
  • Type 2 (Claiming Pair): Inversely, if Row 4 only allows candidate 8 within the boundaries of Box 5, then Box 5 is guaranteed to have its 8 in Row 4. Candidate 8 can be erased from all other cells within Box 5.

2. The X-Wing Technique (Fish Order 2)

The X-Wing is the foundational single-digit geometric pattern. It links four cells forming the corners of a rectangle across two rows and two columns:

The Execution Logic: Suppose candidate 4 appears in only two cells in Row 2 (Columns 3 and 8) and also appears in only two cells in Row 7 (Columns 3 and 8). Because each row requires exactly one 4, the placements must form an opposing diagonal ("X"). If Row 2 places its 4 in Column 3, Row 7 must place its 4 in Column 8 (and vice versa). Consequently, Columns 3 and 8 can never hold candidate 4 in any other row, permitting mass elimination.

3. The Swordfish (Fish Order 3)

A Swordfish expands the X-Wing principle to three parallel rows and three parallel columns. If a specific digit candidate is restricted to at most three cells per row across three distinct rows, and all candidate cells share the exact same three columns, a three-dimensional closed loop is formed.

Because the digit is guaranteed to occupy those three columns within those three rows, you can safely delete that candidate digit from every other cell in all three columns across the entire puzzle.

4. XY-Wings (Y-Wings: Bivalue Pivot & Pincers)

The XY-Wing is an indispensable technique that unlocks difficult Master boards where single-digit fish are exhausted. It requires three distinct cells that each contain exactly two candidates (bivalue cells):

  • The Pivot Cell: Holds candidates [X, Y] (e.g. [1, 2]).
  • Pincer Cell A: Sees the pivot and holds candidates [X, Z] (e.g. [1, 3]).
  • Pincer Cell B: Sees the pivot and holds candidates [Y, Z] (e.g. [2, 3]).

The Deduction: If the pivot is X, Pincer A is forced to become Z. If the pivot is Y, Pincer B is forced to become Z. In either possible universe, at least one of the pincers is mathematically guaranteed to equal Z. Therefore, any empty cell that shares a line of sight with both Pincer A and Pincer B can never be Z, allowing you to delete Z from its candidate list.

Frequently Asked Advanced Strategy Questions

Yes, 100%! All legitimate Sudoku puzzles generated by our engine have a single unique solution that can be proven strictly through human logic (such as X-Wings, XY-Wings, and Simple Coloring) without ever making a speculative guess or branching guess.

Click on a number to highlight all instances on the board. Look for rows that only have two highlighted candidates. If you spot two rows where those highlights vertically align in the exact same columns, you have found an instant X-Wing!

A Naked Pair occurs when two cells in a house contain only the exact same two candidates (e.g. [3,7] and [3,7]), eliminating 3 and 7 from all other cells in that house. A Hidden Pair occurs when two digits only appear in two specific cells in a house, allowing you to erase all other candidate numbers from those two cells.