Learn · Reasoning ideas

Lined-up places

Also called X-Wing, Swordfish and Jellyfish

The 5 sits in the same two columns in two rows. That’s an X-wing! Cross the 5 off everywhere else in those columns.

The idea

What is an X-Wing in sudoku?

An X-Wing is what many solvers call the idea Nocti teaches as “Lined-up places”. In two lines, one digit can only go in the same two places across. That clears it from the crossing lines. This page covers all its usual names: X-Wing, Swordfish and Jellyfish. See the worked example.

A worked example

From a tricky classic sudoku. Highlighted: the cells that make the pattern; dashed: the cells that change.

Look at where the 2 can go in rows 2 and 6: only in columns 3 and 6 (r2c3, r2c6, r6c3 and r6c6). Two rows each need a 2, and they must take them from these two columns, one per column. So columns 3 and 6 get their 2s from rows 2 and 6, and the 2 can't go anywhere else in those columns: remove it from r8c3, r9c3 and r3c6.

Cells are named row then column: r3c5 is row 3, column 5, counted from the top left. More about cell names

Practise with a tricky puzzle