SUDOKU
Sign in

The Swordfish technique in Sudoku

The Swordfish is the X-Wing with three lines instead of two. In three rows, a digit has two or three places each, and all those places sit in the same three columns. The digit must take one cell in each row and one in each column, so it can be removed from the rest of those columns. It works the same with rows and columns swapped.

An example from a real grid

62173599356248244817148793524862871369259251673256379184671359329568741548179242836
Swordfish on the digit 4: in columns 2, 6 and 7 it can only sit in rows 2, 3 and 9, so it is removed from the rest of those rows.
  1. In columns 2, 6 and 7, the digit 4 can only go in rows 2, 3 and 9 (yellow): two or three places in each.

  2. Three lines, three crossing rows: 4 takes one cell in each of the three, and no two of them in the same row. Each of the rows 2, 3 and 9 gets its 4 from this pattern.

  3. So 4 is crossed out everywhere else in those rows: here, in row 2, column 5 (red).

How to spot a Swordfish

Pick one digit and, row by row, note the rows where it has two or three places. If three of those rows use only the same three columns, you have a Swordfish. Not every row needs three places: two are enough, as long as all the places stay inside the same three columns.

Then do the same column by column. The Swordfish is rare, so look for X-Wings and Y-Wings first.

A common mistake

Letting the places spread over a fourth column. If the digit also fits in a column outside the three, the pattern is broken and nothing can be removed; the three lines must use exactly three columns between them.

Where you need it

This technique belongs to the hard level. You will only need it on hard grids.

Play a hard Sudoku