Advanced technique

Swordfish in Sudoku

If you can find an X-Wing, you can find a Swordfish. It uses the same reasoning on three rows and three columns.

Swordfish in Sudoku: worked example diagram
Worked example: the highlighted cells form the pattern; red cells lose a candidate.

What it is

Choose one digit. If, in three rows, that digit can only appear within the same three columns (two or three spots per row), then those three rows will place the digit once in each of those columns. Every other cell in those three columns loses the digit. The same works with columns and rows swapped.

When to use it

Hard and expert puzzles, after you have checked for X-Wings on that digit. Look at digits with many candidates still on the board.

How to apply it, step by step

  1. Pick a digit and write down, for every row, the columns where it can still go.
  2. Ignore rows where it has more than three positions.
  3. Find three rows whose positions all fall inside the same three columns.
  4. Confirm each of the three rows has at least two positions.
  5. Remove the digit from every other cell in those three columns.

Worked example

For digit 4: row 2 allows c1 and c5; row 5 allows c5 and c8; row 8 allows c1 and c8. All positions are inside columns 1, 5 and 8.

Rows 2, 5 and 8 must place their 4s in those columns, one per column. Any 4 in columns 1, 5 or 8 outside rows 2, 5 and 8 can be removed — for example the 4 in r6c5.

Common mistakes

  • Requiring three positions in every row. A Swordfish can have two in each row, as in the example above.
  • Mixing rows and columns. Base units must all be rows (eliminating in columns), or all be columns (eliminating in rows).
  • Searching every digit at once. Work one digit at a time, as you would for an X-Wing.

Questions

How is a Swordfish different from an X-Wing?

An X-Wing uses two rows and two columns; a Swordfish uses three of each. The logic is the same.

Do I need a Swordfish to solve hard puzzles?

Sometimes. Many hard puzzles can be solved with pairs, locked candidates and X-Wings, but expert puzzles may need a Swordfish.

Your learning path

Ready to practise?
Try it on today’s free daily Sudoku, or start a practice puzzle at your level.