Subsets
Subsets are a family of techniques that eliminate candidates by looking at how a group of candidates is distributed among unfilled cells.
They are based on a simple fact: in a house (row, column, or box), if
If those
cells contain only those digits as candidates, with no extra candidates in the same cells, then none of those digits can appear in any other cell in the house. No matter how the digits are arranged, each of them must already appear once in those cells. Therefore, those digits can be eliminated from all other cells in the house. This case is called a "naked subset." If a certain set of
candidates is confined to cells, but those cells still contain additional candidates, then those extra candidates can be eliminated from the cells. Otherwise, some of the confined digits would have nowhere left to go, which would violate Sudoku rules. This case is called a "hidden subset."
This kind of candidate elimination based on finding "
| Subset size | Naked subset (eliminate subset digits from other cells) | Hidden subset (eliminate other candidates from subset cells) |
|---|---|---|
| Naked Pair | Hidden Pair | |
| Naked Triple | Hidden Triple | |
| Naked Quadruple | Hidden Quadruple |
In theory,
A subset does not require every one of the