# X-Chain

- Difficulty: Expert
- On the web: https://blinku.app/learn/x-chain

A chain on one digit has the digit at one end or the other, so a cell that sees both ends cannot hold it.

Pick a digit and find regions where it has only two places. One of the two must be right. Join such pairs into a chain, linking them through cells that share a region, strong and weak links alternating. One end of the chain always holds the digit, so remove it from cells that see both ends.

## This example, step by step

```text
  1 2 3   4 5 6   7 8 9
1 9 8 7 | . 2 . | . 4 5
2 . . 3 | 7 4 . | . . .
3 6 4 . | . . . | . 7 .
  ------+-------+------
4 2 . 5 | 4 . . | 7 . .
5 3 7 4 | 6 . 2 | . 5 8
6 8 . . | . . 7 | . 2 4
  ------+-------+------
7 4 3 6 | 8 7 5 | 2 9 1
8 7 . . | . 3 4 | 5 8 6
9 . . 8 | 2 6 . | 4 3 7
```

1. **Where to look**: A pointer first: link the marked cells into a chain through 3.
2. **X-Chain**: Follow the chain: either row 3, column 9 is 3 or row 6, column 4 is 3, at least one of them. So no cell that shares a group with both ends can be 3.
3. **X-Chain**: Follow the chain: either row 5, column 5 is 1 or row 8, column 4 is 1, at least one of them. So no cell that shares a group with both ends can be 1.

## In hints

The hint first gives a direction. Blue marks the cells of the chain, and orange strikes remove the digit from the cells that see both ends.
