Sudoku Solving Techniques
From basic last-cell logic to advanced patterns like X-Wing and Swordfish.
Use notes (candidates) to spot these patterns. Start with the basics and work up.
In a row, column, or 3×3 box, if eight cells are already filled and only one is empty, that empty cell must contain the one digit that is still missing from 1–9. Place that number in the only free cell.
Same idea as last free cell: within a single row, column, or box, only one cell is still empty. The digit that has not yet been placed in that unit must go in that remaining cell. This is the simplest fill-in rule.
When you write candidates (notes) in empty cells, a cell that has only one candidate is an obvious single. That digit must go there: no other cell in the same row, column, or box can have that number. Place it and remove that candidate from peers. This is one of the most common techniques.
Two cells in the same row, column, or box that both have exactly the same two candidates (e.g. 4 and 7). Those two digits must occupy those two cells, so you can remove 4 and 7 as candidates from every other cell in that row, column, or box. This often clears the way for singles.
Four cells in the same row, column, or box that together contain only four candidates. Those four digits must occupy those four cells, so you can remove those candidates from every other cell in that unit. Rare but useful in harder puzzles.
Two digits (e.g. 3 and 9) that in a row, column, or box can only appear in the same two cells. Those two cells must contain 3 and 9, so you can remove all other candidates from those two cells. Helps simplify the grid when cells have many candidates.
Three digits that in a row, column, or box can only appear in the same three cells. Those three cells must contain those three digits, so you can delete any other candidates from those cells. Harder to spot than hidden pairs but very useful in medium and hard puzzles.
Four digits that in a row, column, or box can only appear in the same four cells. Those cells must contain those four digits; remove all other candidates from them. Uncommon but can crack tough spots.
Same idea as pointing pairs: a digit in a box has candidates only in one row or one column within the box. That digit is restricted to that row or column, so remove it as a candidate from the rest of that row or column outside the box. With three cells instead of two, the logic is the same.
An extension of X-Wing to three rows (or three columns). For one digit: if it is limited to two or three columns in each of three rows, and those columns line up in a specific way, you can remove that digit from other cells in the involved columns. The pattern involves three rows and three columns; more complex to spot than X-Wing but powerful in hard puzzles.