Skip to content

Instantly share code, notes, and snippets.

@robertcampion
Created August 29, 2016 08:26
Show Gist options
  • Save robertcampion/1b7ec3243c0c186b800be646e384d046 to your computer and use it in GitHub Desktop.
Save robertcampion/1b7ec3243c0c186b800be646e384d046 to your computer and use it in GitHub Desktop.
guessing that cell A2 is a 2
guessing that cell A3 is a 3
cell B1 is the only cell in the top-left box that can be a 6
guessing that cell A4 is a 4
cell A7 can only be a 8
cell A8 can only be a 7
cell A6 can only be a 6
cell B9 can only be a 2
cell C9 can only be a 4
cell H8 is the only cell in column 8 that can be a 2
cell J6 is the only cell in column 6 that can be a 2
cell J1 is the only cell in row J that can be a 9
cell C7 is the only cell in row C that can be a 9
cell B8 can only be a 3
cell B6 can only be a 7
cell B5 can only be a 5
cell B4 can only be a 8
cell B2 can only be a 9
cell C5 can only be a 2
cell C4 can only be a 3
cell D6 can only be a 4
cell G6 can only be a 3
cell H6 can only be a 9
cell E8 is the only cell in row E that can be a 9
cell F3 is the only cell in row F that can be a 2
cell E4 is the only cell in row E that can be a 2
cell G2 is the only cell in row G that can be a 4
cell F7 is the only cell in row F that can be a 4
cell E1 is the only cell in row E that can be a 4
cell H2 is the only cell in row H that can be a 3
cell H5 is the only cell in row H that can be a 4
cell J7 is the only cell in row J that can be a 3
cell D1 is the only cell in column 1 that can be a 7
cell E5 is the only cell in row E that can be a 7
cell J5 can only be a 1
cell F5 can only be a 6
cell D4 can only be a 1
cell J9 can only be a 8
cell D9 can only be a 6
cell H9 cannot be filled
backtracking
guessing that cell A4 is a 6
guessing that cell A6 is a 4
cell A7 can only be a 8
cell A8 can only be a 7
cell B9 can only be a 2
cell C9 can only be a 4
cell H8 is the only cell in column 8 that can be a 2
cell J6 is the only cell in column 6 that can be a 2
cell J1 is the only cell in row J that can be a 9
cell C7 is the only cell in row C that can be a 9
cell B8 can only be a 3
cell B6 can only be a 7
cell B5 can only be a 5
cell B4 can only be a 8
cell B2 can only be a 9
cell C5 can only be a 2
cell C4 can only be a 3
cell D6 can only be a 6
cell G6 can only be a 3
cell H6 can only be a 9
cell E8 is the only cell in row E that can be a 9
cell F3 is the only cell in row F that can be a 2
cell E4 is the only cell in row E that can be a 2
cell G7 is the only cell in row G that can be a 6
cell F7 can only be a 4
cell E7 can only be a 5
cell H9 can only be a 8
cell J7 can only be a 3
cell J9 can only be a 1
cell D9 can only be a 7
cell F9 can only be a 6
cell G8 can only be a 5
cell G2 can only be a 4
cell E2 can only be a 1
cell F2 can only be a 8
cell D2 can only be a 5
cell D1 can only be a 4
cell D4 can only be a 1
no 1s can be placed in row G
backtracking
guessing that cell A6 is a 7
cell A8 can only be a 8
cell A7 can only be a 4
cell C9 can only be a 2
cell B9 can only be a 7
cell H8 is the only cell in column 8 that can be a 2
guessing that cell B2 is a 5
cell B5 can only be a 2
cell B6 can only be a 3
cell B4 can only be a 8
cell B8 can only be a 9
cell C3 can only be a 8
cell C1 can only be a 9
cell C7 can only be a 3
cell E7 is the only cell in row E that can be a 9
cell F3 is the only cell in row F that can be a 2
cell E4 is the only cell in row E that can be a 2
cell J6 is the only cell in row J that can be a 2
no 9s can be placed in row J
backtracking
guessing that cell B2 is a 8
cell C3 can only be a 5
cell C1 can only be a 9
cell C5 can only be a 4
cell C7 can only be a 3
cell B8 can only be a 9
cell C4 can only be a 8
cell G3 can only be a 7
cell J3 can only be a 8
cell J1 can only be a 5
cell J7 cannot be filled
backtracking
guessing that cell B2 is a 9
cell B8 can only be a 3
cell B6 can only be a 2
cell B5 can only be a 5
cell B4 can only be a 8
cell C5 can only be a 4
cell C4 can only be a 3
cell C7 can only be a 9
cell H5 can only be a 6
cell H9 can only be a 8
cell J9 can only be a 1
cell G8 can only be a 5
cell G3 can only be a 7
cell J7 can only be a 3
cell G7 can only be a 6
cell E7 can only be a 5
cell F7 can only be a 8
cell J6 can only be a 9
cell E3 is the only cell in row E that can be a 6
cell F3 can only be a 2
cell E8 is the only cell in row E that can be a 9
cell F9 is the only cell in row F that can be a 6
cell D9 can only be a 4
cell D6 can only be a 6
cell F2 is the only cell in row F that can be a 4
cell E1 can only be a 7
cell E2 can only be a 1
cell E5 can only be a 2
cell E4 can only be a 4
cell G2 can only be a 3
cell G4 can only be a 1
cell D4 can only be a 7
cell D8 can only be a 1
cell F5 can only be a 1
cell F8 can only be a 7
cell G6 can only be a 4
cell H2 can only be a 5
cell H4 cannot be filled
backtracking
cell B2 cannot be filled
backtracking
cell A6 cannot be filled
backtracking
guessing that cell A4 is a 7
cell A8 can only be a 8
cell A7 can only be a 4
cell A6 can only be a 6
cell C9 can only be a 2
cell B9 can only be a 7
cell H8 is the only cell in column 8 that can be a 2
guessing that cell B2 is a 5
cell B5 can only be a 2
cell B6 can only be a 3
cell B4 can only be a 8
cell B8 can only be a 9
cell C3 can only be a 8
cell C1 can only be a 9
cell C7 can only be a 3
cell E7 is the only cell in row E that can be a 9
cell F3 is the only cell in row F that can be a 2
cell E4 is the only cell in row E that can be a 2
cell J6 is the only cell in row J that can be a 2
no 9s can be placed in row J
backtracking
guessing that cell B2 is a 8
cell C3 can only be a 5
cell C1 can only be a 9
cell C5 can only be a 4
cell C7 can only be a 3
cell B8 can only be a 9
cell C4 can only be a 8
cell G3 can only be a 7
cell J3 can only be a 8
cell J1 can only be a 5
cell J7 cannot be filled
backtracking
guessing that cell B2 is a 9
cell B8 can only be a 3
cell B6 can only be a 2
cell B5 can only be a 5
cell B4 can only be a 8
cell C5 can only be a 4
cell C4 can only be a 3
cell C7 can only be a 9
cell H5 can only be a 6
cell H9 can only be a 8
cell J9 can only be a 1
cell G8 can only be a 5
cell G3 can only be a 7
cell J7 can only be a 3
cell G7 can only be a 6
cell E7 can only be a 5
cell F7 can only be a 8
cell E8 is the only cell in row E that can be a 9
cell G4 is the only cell in row G that can be a 1
cell D2 is the only cell in column 2 that can be a 8
cell D8 is the only cell in row D that can be a 1
cell F8 can only be a 7
cell D1 is the only cell in row D that can be a 5
cell C1 can only be a 8
cell C3 can only be a 5
cell J1 can only be a 9
cell H1 can only be a 4
cell E1 can only be a 7
cell G2 can only be a 3
cell G6 can only be a 4
cell D6 can only be a 7
cell J6 cannot be filled
backtracking
cell B2 cannot be filled
backtracking
guessing that cell A4 is a 8
cell A7 can only be a 4
cell A8 can only be a 7
cell A6 can only be a 6
guessing that cell B2 is a 5
cell C3 can only be a 8
cell C1 can only be a 9
cell C7 can only be a 3
cell C9 can only be a 2
cell B9 can only be a 8
cell B8 can only be a 9
cell H9 can only be a 6
cell G7 can only be a 5
cell G3 can only be a 7
cell J3 can only be a 5
cell J1 can only be a 8
cell J7 cannot be filled
backtracking
guessing that cell B2 is a 8
cell B9 can only be a 2
cell C3 can only be a 5
cell C1 can only be a 9
cell C9 can only be a 8
cell C7 can only be a 3
cell B8 can only be a 9
cell G3 can only be a 7
cell H9 can only be a 6
cell G7 can only be a 5
cell J3 can only be a 8
cell J7 cannot be filled
backtracking
guessing that cell B2 is a 9
cell C7 is the only cell in row C that can be a 9
cell C4 is the only cell in row C that can be a 3
cell B8 is the only cell in row B that can be a 3
cell B9 is the only cell in row B that can be a 8
cell C9 can only be a 2
cell H9 can only be a 6
cell J9 can only be a 1
cell G8 can only be a 5
cell G3 can only be a 7
cell G7 can only be a 3
cell G2 can only be a 4
cell G6 cannot be filled
backtracking
cell B2 cannot be filled
backtracking
cell A4 cannot be filled
backtracking
guessing that cell A3 is a 6
guessing that cell A4 is a 3
guessing that cell A6 is a 4
cell A7 can only be a 8
cell A8 can only be a 7
cell B9 can only be a 2
cell C9 can only be a 4
cell H8 is the only cell in column 8 that can be a 2
cell J6 is the only cell in column 6 that can be a 2
cell J1 is the only cell in row J that can be a 9
cell C7 is the only cell in row C that can be a 9
cell B8 can only be a 3
cell B2 is the only cell in row B that can be a 9
cell C3 is the only cell in row C that can be a 3
cell E8 is the only cell in row E that can be a 9
cell H6 is the only cell in row H that can be a 9
cell H2 is the only cell in row H that can be a 3
cell J7 is the only cell in row J that can be a 3
cell G6 is the only cell in row G that can be a 3
guessing that cell B1 is a 5
cell C1 can only be a 8
cell H1 can only be a 4
cell G2 can only be a 5
no 5s can be placed in the bottom-right box
backtracking
guessing that cell B1 is a 8
cell C1 can only be a 5
cell C5 can only be a 2
cell C4 can only be a 8
cell H1 can only be a 4
cell G2 can only be a 5
no 5s can be placed in the bottom-right box
backtracking
cell B1 cannot be filled
backtracking
guessing that cell A6 is a 7
cell A8 can only be a 8
cell A7 can only be a 4
cell C9 can only be a 2
cell B9 can only be a 7
cell H8 is the only cell in column 8 that can be a 2
guessing that cell B1 is a 5
guessing that cell B2 is a 3
cell B8 can only be a 9
cell C3 can only be a 8
cell C1 can only be a 9
cell C7 can only be a 3
cell B4 is the only cell in row B that can be a 8
cell E7 is the only cell in row E that can be a 9
cell H6 is the only cell in row H that can be a 3
cell H2 is the only cell in row H that can be a 9
cell J3 is the only cell in row J that can be a 3
cell G8 is the only cell in row G that can be a 3
cell G4 is the only cell in row G that can be a 1
cell G3 is the only cell in row G that can be a 7
cell F3 can only be a 2
cell E3 can only be a 5
cell J1 can only be a 8
cell H1 can only be a 4
cell G2 can only be a 5
cell G7 can only be a 6
cell F7 can only be a 8
cell G6 can only be a 4
cell D6 can only be a 6
cell B6 can only be a 2
cell B5 can only be a 6
cell D1 can only be a 7
cell D4 can only be a 4
cell C4 can only be a 5
cell C5 can only be a 4
cell D9 can only be a 1
cell J9 cannot be filled
backtracking
guessing that cell B2 is a 8
cell C1 can only be a 9
cell C3 can only be a 3
cell C7 cannot be filled
backtracking
guessing that cell B2 is a 9
cell B8 can only be a 3
cell C1 can only be a 8
cell C3 can only be a 3
cell C7 can only be a 9
cell B4 is the only cell in row B that can be a 8
cell E8 is the only cell in row E that can be a 9
guessing that cell B5 is a 2
cell B6 can only be a 6
cell D6 can only be a 4
cell G6 can only be a 3
cell H6 can only be a 9
cell H1 can only be a 4
cell G2 can only be a 5
cell G3 can only be a 7
cell G7 can only be a 6
cell E7 can only be a 5
no 5s can be placed in row D
backtracking
guessing that cell B5 is a 6
cell B6 can only be a 2
guessing that cell C4 is a 4
cell C5 can only be a 5
cell H5 can only be a 4
cell H1 can only be a 9
cell J1 can only be a 7
cell G3 can only be a 5
cell G8 can only be a 1
cell F8 can only be a 7
cell D8 can only be a 5
cell E7 can only be a 6
no 6s can be placed in row F
backtracking
guessing that cell C4 is a 5
cell C5 can only be a 4
cell H5 can only be a 5
guessing that cell D1 is a 4
cell D6 can only be a 6
cell H1 can only be a 9
cell J1 can only be a 7
cell E1 can only be a 6
cell E7 can only be a 5
cell E2 can only be a 1
cell F2 can only be a 8
cell D2 can only be a 5
cell F7 can only be a 6
cell G3 can only be a 5
no 5s can be placed in row J
backtracking
guessing that cell D1 is a 6
cell D6 can only be a 4
cell F9 is the only cell in column 9 that can be a 4
cell F7 is the only cell in row F that can be a 6
cell E7 can only be a 5
cell G7 can only be a 3
cell G6 can only be a 6
cell H4 can only be a 4
cell H1 can only be a 9
cell H6 can only be a 3
no 3s can be placed in row J
backtracking
guessing that cell D1 is a 7
cell J1 can only be a 9
cell H1 can only be a 4
cell E1 can only be a 6
cell E7 can only be a 5
cell D8 can only be a 1
cell E3 can only be a 2
cell F3 can only be a 8
cell F7 can only be a 6
cell F8 can only be a 7
cell F9 can only be a 4
cell D9 can only be a 8
cell F2 can only be a 1
cell E2 can only be a 4
cell D2 can only be a 5
cell F5 can only be a 2
cell G2 can only be a 3
cell G7 cannot be filled
backtracking
cell D1 cannot be filled
backtracking
cell C4 cannot be filled
backtracking
cell B5 cannot be filled
backtracking
cell B2 cannot be filled
backtracking
guessing that cell B1 is a 8
cell C4 is the only cell in row C that can be a 8
cell C5 is the only cell in row C that can be a 4
guessing that cell B2 is a 3
cell B8 can only be a 9
cell C3 can only be a 5
cell C1 can only be a 9
cell C7 can only be a 3
cell E7 is the only cell in row E that can be a 9
cell H6 is the only cell in row H that can be a 3
cell H2 is the only cell in row H that can be a 9
cell H9 is the only cell in row H that can be a 8
cell J7 can only be a 5
cell G7 can only be a 6
cell F7 can only be a 8
cell G6 can only be a 4
cell D6 can only be a 6
cell B6 can only be a 2
cell G2 can only be a 5
cell H1 can only be a 4
cell J1 can only be a 7
cell D1 can only be a 5
cell E1 can only be a 6
cell G3 can only be a 3
no 3s can be placed in row J
backtracking
guessing that cell B2 is a 5
no 5s can be placed in row C
backtracking
guessing that cell B2 is a 9
cell B8 can only be a 3
cell C1 can only be a 5
cell C3 can only be a 3
cell C7 can only be a 9
cell E8 is the only cell in row E that can be a 9
guessing that cell B4 is a 2
cell B6 can only be a 6
cell B5 can only be a 5
cell D6 can only be a 4
cell G6 can only be a 3
cell H5 can only be a 6
cell H6 can only be a 9
cell H1 can only be a 4
cell G2 can only be a 5
cell G3 can only be a 7
cell G7 can only be a 6
cell E7 can only be a 5
no 5s can be placed in row D
backtracking
guessing that cell B4 is a 5
guessing that cell B5 is a 2
cell B6 can only be a 6
cell D6 can only be a 4
cell G6 can only be a 3
cell H6 can only be a 9
cell H1 can only be a 4
cell G2 can only be a 5
cell G3 can only be a 7
cell G7 can only be a 6
cell E7 can only be a 5
no 5s can be placed in row D
backtracking
guessing that cell B5 is a 6
cell B6 can only be a 2
cell H5 can only be a 5
guessing that cell D1 is a 4
cell D6 can only be a 6
cell H1 can only be a 9
cell J1 can only be a 7
cell E1 can only be a 6
cell E7 can only be a 5
cell E2 can only be a 1
cell F2 can only be a 8
cell D2 can only be a 5
cell F7 can only be a 6
cell G3 can only be a 5
no 5s can be placed in row J
backtracking
guessing that cell D1 is a 6
cell D6 can only be a 4
cell F9 is the only cell in column 9 that can be a 4
cell F7 is the only cell in row F that can be a 6
cell E7 can only be a 5
cell G7 can only be a 3
cell G6 can only be a 6
cell H4 can only be a 4
cell H1 can only be a 9
cell H6 can only be a 3
no 3s can be placed in row J
backtracking
guessing that cell D1 is a 7
cell J1 can only be a 9
cell H1 can only be a 4
cell E1 can only be a 6
cell E7 can only be a 5
cell D8 can only be a 1
cell E3 can only be a 2
cell F3 can only be a 8
cell F7 can only be a 6
cell F8 can only be a 7
cell F9 can only be a 4
cell D9 can only be a 8
cell F2 can only be a 1
cell E2 can only be a 4
cell D2 can only be a 5
cell F5 can only be a 2
cell G2 can only be a 3
cell G7 cannot be filled
backtracking
cell D1 cannot be filled
backtracking
cell B5 cannot be filled
backtracking
guessing that cell B4 is a 6
cell B6 can only be a 2
cell B5 can only be a 5
cell H5 can only be a 6
cell H9 can only be a 8
cell J9 can only be a 1
cell G8 can only be a 5
cell G3 can only be a 7
cell J1 can only be a 9
cell H1 can only be a 4
cell G2 can only be a 3
cell G6 can only be a 4
cell D6 can only be a 6
cell D1 can only be a 7
cell D8 can only be a 1
cell D4 can only be a 4
cell D9 cannot be filled
backtracking
cell B4 cannot be filled
backtracking
cell B2 cannot be filled
backtracking
guessing that cell B1 is a 9
cell B8 can only be a 3
cell C7 can only be a 9
cell C3 is the only cell in row C that can be a 3
cell E8 is the only cell in row E that can be a 9
cell J6 is the only cell in row J that can be a 9
cell H2 is the only cell in row H that can be a 9
cell H6 is the only cell in row H that can be a 3
cell J7 is the only cell in row J that can be a 3
cell G2 is the only cell in row G that can be a 3
cell B6 is the only cell in column 6 that can be a 2
cell F7 is the only cell in column 7 that can be a 8
cell J3 is the only cell in column 3 that can be a 8
cell J9 can only be a 1
cell G8 can only be a 5
cell G3 can only be a 7
cell F3 can only be a 2
cell E3 can only be a 5
no 5s can be placed in row D
backtracking
cell B1 cannot be filled
backtracking
cell A6 cannot be filled
backtracking
guessing that cell A4 is a 4
guessing that cell A6 is a 3
cell A7 can only be a 8
cell A8 can only be a 7
cell B9 can only be a 2
cell C9 can only be a 4
cell H8 is the only cell in column 8 that can be a 2
cell J6 is the only cell in column 6 that can be a 2
cell J1 is the only cell in row J that can be a 9
cell C7 is the only cell in row C that can be a 9
cell B8 can only be a 3
cell B2 is the only cell in row B that can be a 9
cell C3 is the only cell in row C that can be a 3
cell E8 is the only cell in row E that can be a 9
cell H6 is the only cell in row H that can be a 9
guessing that cell B1 is a 5
cell C1 can only be a 8
cell H1 can only be a 4
cell B4 is the only cell in row B that can be a 8
cell G6 is the only cell in row G that can be a 4
cell D2 is the only cell in row D that can be a 4
cell D8 is the only cell in row D that can be a 5
cell G8 can only be a 1
cell F8 can only be a 8
no 8s can be placed in row D
backtracking
guessing that cell B1 is a 8
cell C1 can only be a 5
cell C5 can only be a 2
cell C4 can only be a 8
cell H1 can only be a 4
cell F3 is the only cell in row F that can be a 2
cell E4 is the only cell in row E that can be a 2
cell G6 is the only cell in row G that can be a 4
cell D2 is the only cell in row D that can be a 4
cell D8 is the only cell in row D that can be a 5
cell G8 can only be a 1
cell F8 can only be a 8
no 8s can be placed in row D
backtracking
cell B1 cannot be filled
backtracking
guessing that cell A6 is a 7
guessing that cell A7 is a 3
cell A8 can only be a 8
guessing that cell B1 is a 5
guessing that cell B2 is a 3
cell C3 can only be a 8
cell C1 can only be a 9
cell C7 can only be a 4
cell C9 can only be a 2
cell B9 can only be a 7
cell B8 can only be a 9
cell C5 can only be a 5
cell C4 can only be a 3
cell B4 is the only cell in row B that can be a 8
cell E7 is the only cell in row E that can be a 9
cell J6 is the only cell in row J that can be a 9
cell H2 is the only cell in row H that can be a 9
cell J3 is the only cell in row J that can be a 3
cell H8 is the only cell in column 8 that can be a 2
cell H6 is the only cell in row H that can be a 3
cell G8 is the only cell in row G that can be a 3
cell G4 is the only cell in row G that can be a 1
cell G3 is the only cell in row G that can be a 7
cell F3 can only be a 2
cell E3 can only be a 5
cell J1 can only be a 8
cell H1 can only be a 4
cell G2 can only be a 5
cell G7 can only be a 6
cell F7 can only be a 8
cell G6 can only be a 4
cell D6 can only be a 6
cell B6 can only be a 2
cell B5 can only be a 6
cell H5 cannot be filled
backtracking
guessing that cell B2 is a 8
cell C1 can only be a 9
cell C3 can only be a 3
cell C7 can only be a 4
cell C9 can only be a 2
cell B9 can only be a 7
cell B8 can only be a 9
cell C5 can only be a 5
cell C4 can only be a 8
cell E7 is the only cell in row E that can be a 9
cell J6 is the only cell in row J that can be a 9
cell H2 is the only cell in row H that can be a 9
cell J4 is the only cell in row J that can be a 3
cell B6 is the only cell in row B that can be a 3
cell H8 is the only cell in row H that can be a 3
no 2s can be placed in column 8
backtracking
guessing that cell B2 is a 9
cell C1 can only be a 8
cell C3 can only be a 3
cell B4 is the only cell in row B that can be a 8
cell B6 is the only cell in row B that can be a 3
cell B5 is the only cell in row B that can be a 6
cell C7 is the only cell in row C that can be a 9
cell C9 is the only cell in row C that can be a 4
cell E8 is the only cell in row E that can be a 9
cell J4 is the only cell in row J that can be a 3
guessing that cell B8 is a 2
cell B9 can only be a 7
guessing that cell C4 is a 2
cell C5 can only be a 5
guessing that cell D1 is a 4
cell D6 can only be a 6
cell G6 can only be a 4
cell H1 can only be a 9
cell H5 can only be a 2
cell H6 cannot be filled
backtracking
guessing that cell D1 is a 6
cell D6 can only be a 4
cell G6 can only be a 6
cell G7 can only be a 5
cell G3 can only be a 7
cell G4 can only be a 1
cell D4 can only be a 7
cell E4 can only be a 6
cell E7 can only be a 4
cell E1 can only be a 7
cell G8 can only be a 3
cell H8 cannot be filled
backtracking
guessing that cell D1 is a 7
cell J1 can only be a 9
cell H1 can only be a 4
cell E1 can only be a 6
cell H5 can only be a 2
cell J6 cannot be filled
backtracking
cell D1 cannot be filled
backtracking
guessing that cell C4 is a 5
cell C5 can only be a 2
cell F3 is the only cell in row F that can be a 2
cell E4 is the only cell in row E that can be a 2
cell H4 can only be a 6
cell G6 can only be a 4
cell D6 can only be a 6
cell H5 can only be a 5
cell H8 can only be a 3
cell G2 is the only cell in row G that can be a 3
cell G7 is the only cell in row G that can be a 6
cell E1 is the only cell in row E that can be a 6
cell F9 is the only cell in row F that can be a 6
cell J3 is the only cell in column 3 that can be a 8
cell H2 can only be a 4
cell H1 can only be a 9
cell H6 can only be a 2
cell H9 can only be a 8
cell D9 can only be a 1
cell D4 can only be a 7
cell D1 can only be a 4
cell D8 can only be a 5
cell D2 can only be a 8
cell E7 can only be a 4
cell E5 can only be a 1
no 1s can be placed in row J
backtracking
cell C4 cannot be filled
backtracking
guessing that cell B8 is a 7
cell B9 can only be a 2
cell F8 can only be a 1
cell D8 can only be a 5
cell G8 can only be a 3
cell H8 can only be a 2
cell G4 is the only cell in row G that can be a 1
cell D2 is the only cell in row D that can be a 1
cell D9 is the only cell in row D that can be a 8
cell H9 can only be a 6
cell F9 can only be a 7
cell G7 can only be a 5
cell G2 can only be a 4
cell E2 can only be a 5
cell F2 can only be a 8
no 8s can be placed in row H
backtracking
cell B8 cannot be filled
backtracking
cell B2 cannot be filled
backtracking
guessing that cell B1 is a 8
cell C4 is the only cell in row C that can be a 8
cell C3 is the only cell in row C that can be a 3
guessing that cell B2 is a 5
cell C1 can only be a 9
cell C7 can only be a 4
cell C9 can only be a 2
cell B9 can only be a 7
cell B8 can only be a 9
cell C5 can only be a 5
cell E7 is the only cell in row E that can be a 9
cell J6 is the only cell in row J that can be a 9
cell H2 is the only cell in row H that can be a 9
cell H9 is the only cell in row H that can be a 8
cell J7 can only be a 5
cell G7 can only be a 6
cell F7 can only be a 8
cell J1 can only be a 7
cell G3 can only be a 5
cell H1 can only be a 4
cell G2 can only be a 3
cell G6 can only be a 4
cell D6 can only be a 6
cell D1 can only be a 5
cell E1 can only be a 6
cell G8 can only be a 1
cell J9 cannot be filled
backtracking
guessing that cell B2 is a 9
cell C1 can only be a 5
cell C5 can only be a 2
cell C9 can only be a 4
cell C7 can only be a 9
cell E8 is the only cell in row E that can be a 9
cell F3 is the only cell in row F that can be a 2
cell E4 is the only cell in row E that can be a 2
cell J3 is the only cell in column 3 that can be a 8
cell J7 can only be a 5
cell G7 can only be a 6
cell E7 can only be a 4
cell F7 can only be a 8
cell D2 is the only cell in row D that can be a 8
cell D8 is the only cell in row D that can be a 5
cell H9 is the only cell in row H that can be a 8
guessing that cell B4 is a 3
cell B6 can only be a 6
cell B5 can only be a 5
cell D6 can only be a 4
cell G6 can only be a 3
no 3s can be placed in row J
backtracking
guessing that cell B4 is a 5
cell B5 can only be a 6
cell B6 can only be a 3
cell G6 can only be a 4
cell D6 can only be a 6
cell H5 can only be a 5
cell D1 is the only cell in row D that can be a 4
cell F2 can only be a 1
cell E2 can only be a 5
cell E3 can only be a 7
cell E1 can only be a 6
cell E5 can only be a 1
cell D4 can only be a 7
no 7s can be placed in row G
backtracking
guessing that cell B4 is a 6
cell B5 can only be a 5
cell B6 can only be a 3
cell G6 can only be a 4
cell D6 can only be a 6
cell H5 can only be a 6
cell D1 is the only cell in row D that can be a 4
cell F2 can only be a 1
cell E2 can only be a 5
cell E3 can only be a 7
cell E1 can only be a 6
cell E5 can only be a 1
cell D4 can only be a 7
no 7s can be placed in row G
backtracking
cell B4 cannot be filled
backtracking
cell B2 cannot be filled
backtracking
guessing that cell B1 is a 9
cell C7 is the only cell in row C that can be a 9
cell C9 is the only cell in row C that can be a 4
cell E8 is the only cell in row E that can be a 9
cell J6 is the only cell in row J that can be a 9
cell H2 is the only cell in row H that can be a 9
guessing that cell B2 is a 3
cell B4 is the only cell in row B that can be a 8
cell B5 is the only cell in row B that can be a 5
cell C5 can only be a 2
cell B6 can only be a 6
cell C4 can only be a 3
cell D6 can only be a 4
cell G6 can only be a 3
cell H6 can only be a 2
cell F3 is the only cell in row F that can be a 2
cell E4 is the only cell in row E that can be a 2
cell G2 is the only cell in row G that can be a 4
cell F7 is the only cell in row F that can be a 4
cell E1 is the only cell in row E that can be a 4
cell H8 is the only cell in row H that can be a 3
cell H5 is the only cell in row H that can be a 4
cell J9 is the only cell in row J that can be a 2
cell B9 can only be a 7
cell B8 can only be a 2
cell J3 is the only cell in row J that can be a 3
cell D1 is the only cell in column 1 that can be a 6
cell J1 is the only cell in column 1 that can be a 7
cell G3 can only be a 5
cell C3 can only be a 8
cell C1 can only be a 5
cell E3 can only be a 7
cell G7 can only be a 6
cell E7 can only be a 5
no 5s can be placed in column 8
backtracking
guessing that cell B2 is a 5
cell C1 can only be a 8
cell C3 can only be a 3
cell B4 is the only cell in row B that can be a 8
cell B6 is the only cell in row B that can be a 3
cell B5 is the only cell in row B that can be a 6
cell H9 is the only cell in row H that can be a 8
cell J7 can only be a 5
cell G7 can only be a 6
cell E7 can only be a 4
cell E2 can only be a 1
cell F7 can only be a 8
cell F2 can only be a 4
cell D2 can only be a 8
cell G2 can only be a 3
cell G6 can only be a 4
no 4s can be placed in row D
backtracking
guessing that cell B2 is a 8
cell C1 can only be a 5
cell C3 can only be a 3
cell C5 can only be a 2
cell C4 can only be a 8
cell F3 is the only cell in row F that can be a 2
cell E4 is the only cell in row E that can be a 2
cell J9 is the only cell in row J that can be a 2
cell B9 can only be a 7
cell B8 can only be a 2
cell H6 is the only cell in row H that can be a 2
cell J4 is the only cell in row J that can be a 3
cell B6 is the only cell in row B that can be a 3
cell H8 is the only cell in row H that can be a 3
cell G2 is the only cell in row G that can be a 3
cell G6 is the only cell in row G that can be a 4
cell D6 can only be a 6
cell H1 is the only cell in row H that can be a 4
cell D2 is the only cell in row D that can be a 4
cell F2 can only be a 1
cell E2 can only be a 5
cell E3 can only be a 7
cell D1 can only be a 8
cell D9 can only be a 1
cell D4 can only be a 7
no 7s can be placed in row G
backtracking
cell B2 cannot be filled
backtracking
cell B1 cannot be filled
backtracking
guessing that cell A7 is a 8
cell A8 can only be a 3
guessing that cell B1 is a 5
guessing that cell B2 is a 3
cell C3 can only be a 8
cell C1 can only be a 9
cell C7 can only be a 4
cell C9 can only be a 2
cell B9 can only be a 7
cell B8 can only be a 9
cell C5 can only be a 5
cell C4 can only be a 3
cell F7 can only be a 6
cell B4 is the only cell in row B that can be a 8
cell E7 is the only cell in row E that can be a 9
cell H6 is the only cell in row H that can be a 3
cell H2 is the only cell in row H that can be a 9
cell J6 is the only cell in row J that can be a 9
cell B6 is the only cell in column 6 that can be a 2
cell B5 can only be a 6
cell H8 is the only cell in column 8 that can be a 2
cell H5 can only be a 4
cell G6 can only be a 6
cell D6 can only be a 4
cell H1 can only be a 8
cell H4 can only be a 5
cell H9 can only be a 6
cell J1 can only be a 7
cell D1 can only be a 6
cell E1 can only be a 4
cell E4 is the only cell in row E that can be a 6
cell F9 is the only cell in row F that can be a 4
cell G2 is the only cell in row G that can be a 4
cell G4 is the only cell in row G that can be a 7
cell D4 can only be a 1
cell D9 can only be a 8
no 8s can be placed in row J
backtracking
guessing that cell B2 is a 8
cell C1 can only be a 9
cell C3 can only be a 3
cell C7 can only be a 4
cell C9 can only be a 2
cell B9 can only be a 7
cell B8 can only be a 9
cell C5 can only be a 5
cell C4 can only be a 8
cell F7 can only be a 6
cell E7 is the only cell in row E that can be a 9
cell J6 is the only cell in row J that can be a 9
cell H2 is the only cell in row H that can be a 9
cell G2 is the only cell in column 2 that can be a 3
cell G7 can only be a 5
cell G3 can only be a 7
cell G8 can only be a 1
cell G4 can only be a 6
cell G6 can only be a 4
cell D6 can only be a 6
cell H5 can only be a 2
no 2s can be placed in row J
backtracking
guessing that cell B2 is a 9
cell C1 can only be a 8
cell C3 can only be a 3
cell B4 is the only cell in row B that can be a 8
cell B6 is the only cell in row B that can be a 3
cell B5 is the only cell in row B that can be a 6
cell C7 is the only cell in row C that can be a 9
cell C9 is the only cell in row C that can be a 4
cell E8 is the only cell in row E that can be a 9
guessing that cell B8 is a 2
cell B9 can only be a 7
guessing that cell C4 is a 2
cell C5 can only be a 5
guessing that cell D1 is a 4
cell D6 can only be a 6
cell G6 can only be a 4
cell H1 can only be a 9
cell H5 can only be a 2
cell H6 cannot be filled
backtracking
guessing that cell D1 is a 6
cell D6 can only be a 4
cell G6 can only be a 6
cell G2 is the only cell in row G that can be a 4
cell H1 can only be a 9
cell H6 can only be a 2
cell H5 can only be a 4
cell J1 can only be a 7
cell E1 can only be a 4
cell G3 can only be a 5
cell G7 can only be a 3
cell G8 can only be a 1
cell G4 can only be a 7
cell D4 can only be a 1
cell D9 can only be a 8
cell D2 can only be a 5
cell D8 can only be a 7
cell F8 cannot be filled
backtracking
guessing that cell D1 is a 7
cell J1 can only be a 9
cell H1 can only be a 4
cell E1 can only be a 6
cell H5 can only be a 2
cell J6 cannot be filled
backtracking
cell D1 cannot be filled
backtracking
guessing that cell C4 is a 5
cell C5 can only be a 2
cell F3 is the only cell in row F that can be a 2
cell E4 is the only cell in row E that can be a 2
cell J3 is the only cell in column 3 that can be a 8
guessing that cell D1 is a 4
cell D6 can only be a 6
cell G6 can only be a 4
cell H1 can only be a 9
cell H5 can only be a 5
cell H6 can only be a 2
cell H8 can only be a 8
cell H9 can only be a 6
cell H4 can only be a 3
cell H2 can only be a 4
cell J1 can only be a 7
cell E1 can only be a 6
cell G3 can only be a 5
cell E3 can only be a 7
cell G2 can only be a 3
cell G7 cannot be filled
backtracking
guessing that cell D1 is a 6
no 6s can be placed in the center box
backtracking
guessing that cell D1 is a 7
cell E3 can only be a 5
cell G3 can only be a 7
cell J1 can only be a 9
cell H1 can only be a 4
cell E1 can only be a 6
cell E7 can only be a 4
cell E2 can only be a 1
cell E5 can only be a 7
cell F7 can only be a 6
cell H5 can only be a 5
cell H2 can only be a 3
cell G2 can only be a 5
cell G7 can only be a 3
cell G8 can only be a 1
cell G4 can only be a 6
cell H4 cannot be filled
backtracking
cell D1 cannot be filled
backtracking
cell C4 cannot be filled
backtracking
guessing that cell B8 is a 7
cell B9 can only be a 2
cell H8 is the only cell in column 8 that can be a 2
cell J6 is the only cell in column 6 that can be a 2
cell J1 is the only cell in row J that can be a 9
cell H1 can only be a 4
cell H5 can only be a 5
cell C5 can only be a 2
cell C4 can only be a 5
cell F3 is the only cell in row F that can be a 2
cell E4 is the only cell in row E that can be a 2
cell G6 is the only cell in row G that can be a 4
cell D6 can only be a 6
cell D1 can only be a 7
cell D4 can only be a 1
cell D9 can only be a 8
no 8s can be placed in column 8
backtracking
cell B8 cannot be filled
backtracking
cell B2 cannot be filled
backtracking
guessing that cell B1 is a 8
cell C4 is the only cell in row C that can be a 8
cell C3 is the only cell in row C that can be a 3
guessing that cell B2 is a 5
cell C1 can only be a 9
cell C7 can only be a 4
cell C9 can only be a 2
cell B9 can only be a 7
cell B8 can only be a 9
cell C5 can only be a 5
cell F7 can only be a 6
cell E7 is the only cell in row E that can be a 9
cell J6 is the only cell in row J that can be a 9
cell H2 is the only cell in row H that can be a 9
cell G2 is the only cell in column 2 that can be a 3
cell G7 can only be a 5
cell G3 can only be a 7
cell G8 can only be a 1
cell G4 can only be a 6
cell G6 can only be a 4
cell D6 can only be a 6
cell H5 can only be a 2
no 2s can be placed in row J
backtracking
guessing that cell B2 is a 9
cell C1 can only be a 5
cell C5 can only be a 2
cell C9 can only be a 4
cell C7 can only be a 9
cell E8 is the only cell in row E that can be a 9
cell F3 is the only cell in row F that can be a 2
cell E4 is the only cell in row E that can be a 2
cell J3 is the only cell in column 3 that can be a 8
guessing that cell B4 is a 3
cell B6 can only be a 6
cell B5 can only be a 5
cell D6 can only be a 4
cell G6 can only be a 3
cell G2 is the only cell in row G that can be a 4
cell H1 can only be a 9
cell H6 can only be a 2
cell J1 can only be a 7
cell D1 can only be a 6
cell E1 can only be a 4
cell G3 can only be a 5
cell E3 can only be a 7
cell G7 can only be a 6
cell E7 can only be a 5
cell E2 can only be a 1
cell E5 can only be a 6
cell F2 can only be a 8
cell D2 can only be a 5
cell F7 can only be a 4
cell G8 can only be a 1
cell F8 can only be a 7
no 7s can be placed in column 5
backtracking
guessing that cell B4 is a 5
cell B5 can only be a 6
cell B6 can only be a 3
guessing that cell B8 is a 2
cell B9 can only be a 7
guessing that cell D1 is a 4
cell D6 can only be a 6
cell G6 can only be a 4
cell H1 can only be a 9
cell H5 can only be a 5
cell H6 can only be a 2
cell H8 can only be a 8
cell H9 can only be a 6
cell H4 can only be a 3
cell H2 can only be a 4
cell J1 can only be a 7
cell E1 can only be a 6
cell G3 can only be a 5
cell E3 can only be a 7
cell G2 can only be a 3
cell G7 cannot be filled
backtracking
guessing that cell D1 is a 6
no 6s can be placed in the center box
backtracking
guessing that cell D1 is a 7
cell E3 can only be a 5
cell G3 can only be a 7
cell J1 can only be a 9
cell H1 can only be a 4
cell E1 can only be a 6
cell E7 can only be a 4
cell E2 can only be a 1
cell E5 can only be a 7
cell F7 can only be a 6
cell H5 can only be a 5
cell H2 can only be a 3
cell G2 can only be a 5
cell G7 can only be a 3
cell G8 can only be a 1
cell G4 can only be a 6
cell H4 cannot be filled
backtracking
cell D1 cannot be filled
backtracking
guessing that cell B8 is a 7
cell B9 can only be a 2
cell J9 can only be a 1
cell G8 can only be a 5
cell G3 can only be a 7
cell E3 can only be a 5
no 5s can be placed in row D
backtracking
cell B8 cannot be filled
backtracking
guessing that cell B4 is a 6
cell B5 can only be a 5
cell B6 can only be a 3
guessing that cell B8 is a 2
cell B9 can only be a 7
guessing that cell D1 is a 4
cell D6 can only be a 6
cell G6 can only be a 4
cell H1 can only be a 9
cell H5 can only be a 6
cell H6 can only be a 2
cell H9 can only be a 8
cell D9 can only be a 1
cell D4 can only be a 7
cell F9 can only be a 6
cell F7 can only be a 4
cell E7 can only be a 5
cell D8 can only be a 8
cell D2 can only be a 5
cell E2 can only be a 1
cell E3 can only be a 7
no 7s can be placed in row G
backtracking
guessing that cell D1 is a 6
cell D6 can only be a 4
cell G6 can only be a 6
cell H5 can only be a 4
cell H1 can only be a 9
cell H6 can only be a 2
cell J1 can only be a 7
cell E1 can only be a 4
cell G3 can only be a 5
cell E3 can only be a 7
cell G7 can only be a 3
cell G2 can only be a 4
cell G8 can only be a 1
cell G4 can only be a 7
cell D4 can only be a 1
cell D9 can only be a 8
cell D2 can only be a 5
cell D8 can only be a 7
cell F8 cannot be filled
backtracking
guessing that cell D1 is a 7
cell D4 can only be a 1
cell E3 can only be a 5
cell G3 can only be a 7
cell J1 can only be a 9
cell H1 can only be a 4
cell E1 can only be a 6
cell E7 can only be a 4
cell E2 can only be a 1
cell E5 can only be a 7
cell F7 can only be a 6
cell D9 can only be a 8
cell D2 can only be a 4
cell D6 can only be a 6
no 6s can be placed in row G
backtracking
cell D1 cannot be filled
backtracking
guessing that cell B8 is a 7
cell B9 can only be a 2
cell J9 can only be a 1
cell G8 can only be a 5
cell G3 can only be a 7
cell E3 can only be a 5
no 5s can be placed in row D
backtracking
cell B8 cannot be filled
backtracking
cell B4 cannot be filled
backtracking
cell B2 cannot be filled
backtracking
guessing that cell B1 is a 9
cell C7 is the only cell in row C that can be a 9
cell C9 is the only cell in row C that can be a 4
cell E8 is the only cell in row E that can be a 9
cell J6 is the only cell in row J that can be a 9
cell H2 is the only cell in row H that can be a 9
guessing that cell B2 is a 3
cell B4 is the only cell in row B that can be a 8
cell B5 is the only cell in row B that can be a 5
cell C5 can only be a 2
cell B6 can only be a 6
cell C4 can only be a 3
cell D6 can only be a 4
cell G6 can only be a 3
no 3s can be placed in row H
backtracking
guessing that cell B2 is a 5
cell C1 can only be a 8
cell C3 can only be a 3
cell B4 is the only cell in row B that can be a 8
cell B6 is the only cell in row B that can be a 3
cell B5 is the only cell in row B that can be a 6
cell H4 is the only cell in row H that can be a 3
cell J7 is the only cell in row J that can be a 3
cell G2 is the only cell in row G that can be a 3
cell G6 is the only cell in row G that can be a 4
cell D6 can only be a 6
cell H6 can only be a 2
cell H5 can only be a 5
cell C5 can only be a 2
cell C4 can only be a 5
cell H1 can only be a 4
cell H8 can only be a 8
cell H9 can only be a 6
cell G7 can only be a 5
cell G3 can only be a 7
cell G8 can only be a 1
cell F8 can only be a 7
cell B8 can only be a 2
cell B9 can only be a 7
cell D8 can only be a 5
cell D1 can only be a 7
cell D4 can only be a 1
cell D9 can only be a 8
cell D2 can only be a 4
cell E2 can only be a 1
cell F2 can only be a 8
cell F3 can only be a 2
cell E3 can only be a 5
cell E1 can only be a 6
cell E7 can only be a 4
cell E5 can only be a 7
cell E4 can only be a 2
cell F5 can only be a 4
cell F7 can only be a 6
cell F9 can only be a 1
cell G4 can only be a 6
cell J1 can only be a 5
cell J3 can only be a 8
cell J4 can only be a 7
cell J5 can only be a 1
cell J9 can only be a 2
done!
solution:
1 2 6 4 9 7 8 3 5
9 5 4 8 6 3 1 2 7
8 7 3 5 2 1 9 6 4
7 4 9 1 3 6 2 5 8
6 1 5 2 7 8 4 9 3
3 8 2 9 4 5 6 7 1
2 3 7 6 8 4 5 1 9
4 9 1 3 5 2 7 8 6
5 6 8 7 1 9 3 4 2
guessing that cell A1 is a 6
cell C3 is the only cell in the top-left box that can be a 8
guessing that cell A2 is a 5
cell J3 is the only cell in column 3 that can be a 5
guessing that cell A4 is a 1
cell A8 can only be a 7
cell A9 can only be a 2
cell A5 can only be a 8
cell E9 is the only cell in column 9 that can be a 7
guessing that cell B1 is a 3
guessing that cell B3 is a 4
cell C2 can only be a 7
cell E3 can only be a 1
cell B4 is the only cell in row B that can be a 7
cell B5 is the only cell in row B that can be a 5
cell F5 is the only cell in row F that can be a 1
guessing that cell B6 is a 6
cell B7 can only be a 1
cell B8 can only be a 9
guessing that cell C4 is a 2
cell C5 can only be a 9
cell C6 can only be a 4
cell E5 can only be a 6
cell D5 can only be a 2
cell D3 can only be a 7
cell D6 can only be a 9
cell D1 can only be a 4
cell E6 can only be a 8
cell E7 can only be a 3
cell C7 can only be a 6
cell C9 can only be a 3
cell D7 can only be a 5
cell D4 can only be a 3
cell D8 can only be a 6
cell E2 can only be a 9
cell E4 can only be a 4
cell F1 can only be a 2
cell F2 can only be a 3
cell F4 can only be a 5
cell F9 can only be a 4
cell F8 can only be a 8
cell G3 can only be a 2
cell G4 can only be a 8
cell G7 cannot be filled
backtracking
guessing that cell C4 is a 4
guessing that cell C5 is a 2
cell C6 can only be a 9
guessing that cell C7 is a 3
cell C9 can only be a 6
cell J9 can only be a 3
guessing that cell D1 is a 2
cell D3 can only be a 7
cell D6 can only be a 4
cell E6 can only be a 8
cell E4 can only be a 3
cell D4 can only be a 5
cell D7 can only be a 6
cell E7 cannot be filled
backtracking
guessing that cell D1 is a 4
cell D6 can only be a 2
cell D3 can only be a 7
cell F1 can only be a 2
no 2s can be placed in row J
backtracking
guessing that cell D1 is a 7
cell D3 can only be a 2
cell D6 can only be a 4
cell E6 can only be a 8
cell E4 can only be a 3
cell D4 can only be a 5
cell D7 can only be a 6
cell E7 cannot be filled
backtracking
guessing that cell D1 is a 9
cell D5 can only be a 6
cell D7 can only be a 5
cell E5 can only be a 9
cell F9 can only be a 4
cell D8 can only be a 3
cell D4 can only be a 2
cell D3 can only be a 7
cell D6 can only be a 4
cell E6 can only be a 8
cell E4 can only be a 3
cell E2 can only be a 4
cell E7 can only be a 6
cell F1 can only be a 2
cell F2 can only be a 3
cell F4 can only be a 5
cell F8 can only be a 8
cell G3 can only be a 2
cell G4 can only be a 8
cell G7 cannot be filled
backtracking
cell D1 cannot be filled
backtracking
guessing that cell C7 is a 6
cell C9 can only be a 3
cell J9 can only be a 6
cell J2 can only be a 1
cell E5 is the only cell in row E that can be a 6
cell D5 can only be a 9
cell D8 is the only cell in row D that can be a 6
cell E2 is the only cell in row E that can be a 9
cell H2 can only be a 4
cell F2 can only be a 3
cell G2 can only be a 6
cell E6 is the only cell in row E that can be a 4
cell D6 can only be a 2
cell D3 can only be a 7
cell D1 can only be a 4
cell F1 can only be a 2
no 2s can be placed in row J
backtracking
cell C7 cannot be filled
backtracking
guessing that cell C5 is a 9
cell C6 can only be a 2
cell E5 can only be a 6
cell D5 can only be a 2
cell D3 can only be a 7
cell G3 can only be a 2
no 2s can be placed in row J
backtracking
cell C5 cannot be filled
backtracking
cell C4 cannot be filled
backtracking
guessing that cell B6 is a 9
cell C9 is the only cell in row C that can be a 9
cell C7 is the only cell in row C that can be a 3
guessing that cell B7 is a 1
cell B8 can only be a 6
guessing that cell C4 is a 2
cell C5 can only be a 6
cell C6 can only be a 4
cell E5 can only be a 9
cell D5 can only be a 2
cell D3 can only be a 7
cell D6 can only be a 6
cell D7 can only be a 5
cell E6 can only be a 8
cell E7 can only be a 6
cell G3 can only be a 2
cell G4 can only be a 8
cell G7 cannot be filled
backtracking
guessing that cell C4 is a 4
guessing that cell C5 is a 2
cell C6 can only be a 6
guessing that cell D1 is a 2
cell D3 can only be a 7
cell D6 can only be a 4
cell D8 can only be a 3
cell D4 can only be a 5
cell D7 can only be a 6
cell D5 can only be a 9
cell E5 can only be a 6
cell E6 can only be a 8
cell E7 cannot be filled
backtracking
guessing that cell D1 is a 4
cell D6 can only be a 2
cell D3 can only be a 7
cell D8 can only be a 3
cell D4 can only be a 5
cell D7 can only be a 6
cell D5 can only be a 9
cell E5 can only be a 6
cell E7 can only be a 8
cell E4 can only be a 3
cell E2 can only be a 9
cell E6 can only be a 4
cell F1 can only be a 2
no 2s can be placed in row J
backtracking
guessing that cell D1 is a 7
cell D3 can only be a 2
cell D6 can only be a 4
cell D8 can only be a 3
cell D4 can only be a 5
cell D7 can only be a 6
cell D5 can only be a 9
cell E5 can only be a 6
cell E6 can only be a 8
cell E7 cannot be filled
backtracking
guessing that cell D1 is a 9
cell D5 can only be a 6
cell D7 can only be a 5
cell E5 can only be a 9
cell D3 is the only cell in row D that can be a 7
cell G3 can only be a 2
cell G4 can only be a 8
cell E4 can only be a 3
cell D4 can only be a 2
cell D6 can only be a 4
cell D8 can only be a 3
cell E2 can only be a 4
cell E6 can only be a 8
cell E7 can only be a 6
cell G7 cannot be filled
backtracking
cell D1 cannot be filled
backtracking
guessing that cell C5 is a 6
cell C6 can only be a 2
cell E5 can only be a 9
cell D5 can only be a 2
cell D3 can only be a 7
cell G3 can only be a 2
no 2s can be placed in row J
backtracking
cell C5 cannot be filled
backtracking
cell C4 cannot be filled
backtracking
guessing that cell B7 is a 6
cell B8 can only be a 1
cell D7 can only be a 5
cell E7 can only be a 8
cell F4 is the only cell in row F that can be a 5
no 8s can be placed in row F
backtracking
cell B7 cannot be filled
backtracking
cell B6 cannot be filled
backtracking
guessing that cell B3 is a 7
cell C2 can only be a 4
cell C4 is the only cell in row C that can be a 7
cell D1 is the only cell in row D that can be a 7
cell G2 is the only cell in row G that can be a 7
cell J2 is the only cell in column 2 that can be a 6
cell J9 can only be a 3
cell C7 is the only cell in row C that can be a 3
cell E2 is the only cell in the left box that can be a 9
cell H2 can only be a 1
cell F2 can only be a 3
cell E4 is the only cell in row E that can be a 3
cell D8 is the only cell in row D that can be a 3
cell F5 is the only cell in row F that can be a 1
cell E5 can only be a 6
cell E7 can only be a 8
cell E6 can only be a 4
cell E3 can only be a 1
cell F8 can only be a 4
cell F1 can only be a 2
cell D3 can only be a 4
cell F9 can only be a 5
cell D7 can only be a 6
cell B7 can only be a 1
cell F4 can only be a 8
cell G3 can only be a 2
cell G4 cannot be filled
backtracking
cell B3 cannot be filled
backtracking
guessing that cell B1 is a 4
cell B3 can only be a 7
cell B4 can only be a 5
cell C2 can only be a 3
cell C7 can only be a 6
cell C9 can only be a 9
cell C5 can only be a 2
cell C6 can only be a 4
cell C4 can only be a 7
cell D1 is the only cell in row D that can be a 7
cell G2 is the only cell in row G that can be a 7
cell F1 is the only cell in column 1 that can be a 3
cell F4 is the only cell in row F that can be a 2
cell G4 can only be a 8
cell D3 is the only cell in row D that can be a 2
cell F8 is the only cell in row F that can be a 8
cell E7 can only be a 3
cell B7 can only be a 1
cell B8 can only be a 3
cell D7 can only be a 5
cell E4 can only be a 4
cell D4 can only be a 3
cell E3 can only be a 1
cell E2 can only be a 9
cell E5 can only be a 6
cell B5 can only be a 9
cell D5 cannot be filled
backtracking
guessing that cell B1 is a 7
cell B3 can only be a 4
cell B4 can only be a 5
cell C2 can only be a 3
cell C7 can only be a 6
cell C9 can only be a 9
cell C5 can only be a 2
cell C6 can only be a 4
cell C4 can only be a 7
cell E3 can only be a 1
cell F2 can only be a 4
cell E2 can only be a 9
cell E5 can only be a 6
cell B5 can only be a 9
cell B6 can only be a 6
cell D5 can only be a 5
cell D7 can only be a 3
cell B7 can only be a 1
cell B8 can only be a 3
cell D1 can only be a 2
cell D3 can only be a 7
cell D4 can only be a 4
no 4s can be placed in row E
backtracking
cell B1 cannot be filled
backtracking
guessing that cell A4 is a 2
cell A9 can only be a 7
cell A8 can only be a 1
cell A5 can only be a 8
cell D8 is the only cell in column 8 that can be a 7
guessing that cell B1 is a 3
cell B7 can only be a 6
cell B8 can only be a 9
cell G1 is the only cell in column 1 that can be a 7
cell E9 is the only cell in the right box that can be a 6
guessing that cell B3 is a 4
cell B6 can only be a 1
cell B5 can only be a 5
cell B4 can only be a 7
cell C2 can only be a 7
cell C4 can only be a 4
cell D3 can only be a 2
cell F1 can only be a 4
no 4s can be placed in the right box
backtracking
guessing that cell B3 is a 7
cell C2 can only be a 4
cell C4 can only be a 7
cell E2 is the only cell in row E that can be a 7
cell F2 is the only cell in column 2 that can be a 3
cell J8 is the only cell in column 8 that can be a 3
cell J9 can only be a 2
cell C9 can only be a 3
cell C7 can only be a 2
cell J1 can only be a 8
cell J6 can only be a 1
cell B6 can only be a 4
cell G4 can only be a 8
cell G7 can only be a 1
cell H6 can only be a 2
cell J2 can only be a 6
cell G2 can only be a 9
cell G9 can only be a 4
cell F9 can only be a 5
cell D7 can only be a 3
cell E7 can only be a 8
no 8s can be placed in row F
backtracking
cell B3 cannot be filled
backtracking
guessing that cell B1 is a 4
cell B3 can only be a 7
cell C2 can only be a 3
cell C4 is the only cell in row C that can be a 7
cell C6 is the only cell in row C that can be a 4
cell E2 is the only cell in row E that can be a 7
cell G1 is the only cell in row G that can be a 7
cell D1 is the only cell in the left box that can be a 9
cell F1 is the only cell in column 1 that can be a 3
cell F5 is the only cell in row F that can be a 2
cell D6 can only be a 6
cell D5 can only be a 5
cell D7 can only be a 3
cell B7 can only be a 6
cell C7 can only be a 2
cell C9 can only be a 9
cell B8 can only be a 3
cell C5 can only be a 6
cell D4 can only be a 4
cell D3 can only be a 2
cell E7 can only be a 8
cell F8 can only be a 4
cell E9 can only be a 6
cell F2 can only be a 1
cell E3 can only be a 4
cell F4 can only be a 8
cell F9 can only be a 5
cell G3 can only be a 1
cell G4 cannot be filled
backtracking
guessing that cell B1 is a 7
cell B3 can only be a 4
cell C2 can only be a 3
cell D3 can only be a 2
cell C4 is the only cell in row C that can be a 7
cell C6 is the only cell in row C that can be a 4
cell F5 is the only cell in row F that can be a 2
guessing that cell B4 is a 1
cell G4 can only be a 8
cell B5 is the only cell in row B that can be a 5
cell F2 is the only cell in row F that can be a 1
cell E3 can only be a 7
cell G3 can only be a 1
cell J2 can only be a 6
cell F8 is the only cell in row F that can be a 8
cell J8 can only be a 3
cell J9 can only be a 2
cell G7 can only be a 6
cell B7 can only be a 3
cell E7 cannot be filled
backtracking
guessing that cell B4 is a 5
cell F9 is the only cell in row F that can be a 5
cell D5 is the only cell in row D that can be a 5
cell H7 is the only cell in row H that can be a 5
cell G7 is the only cell in column 7 that can be a 1
cell G3 can only be a 7
cell E3 can only be a 1
cell F2 can only be a 4
cell F1 can only be a 3
cell D1 can only be a 9
cell D6 can only be a 6
cell D7 can only be a 3
cell B7 can only be a 6
cell C7 can only be a 2
cell C9 can only be a 9
cell B8 can only be a 3
cell C5 can only be a 6
cell D4 can only be a 4
cell E2 can only be a 7
cell E5 can only be a 9
cell B5 can only be a 1
cell B6 can only be a 9
cell E6 can only be a 8
cell E7 cannot be filled
backtracking
cell B4 cannot be filled
backtracking
cell B1 cannot be filled
backtracking
guessing that cell A4 is a 7
cell A8 can only be a 1
cell A9 can only be a 2
cell A5 can only be a 8
guessing that cell B1 is a 3
cell B7 can only be a 6
cell C7 can only be a 3
cell D7 can only be a 5
cell E7 can only be a 8
cell F4 is the only cell in row F that can be a 8
cell F5 is the only cell in row F that can be a 5
cell B4 is the only cell in row B that can be a 5
cell F2 is the only cell in row F that can be a 1
cell J2 can only be a 6
cell J9 can only be a 3
cell F9 can only be a 4
cell F1 can only be a 2
cell F8 can only be a 3
cell J1 can only be a 8
cell J8 cannot be filled
backtracking
guessing that cell B1 is a 4
cell B3 can only be a 7
cell C2 can only be a 3
cell C7 can only be a 6
cell B7 can only be a 3
cell B8 can only be a 9
cell C9 can only be a 7
cell D7 can only be a 5
cell E7 can only be a 8
cell E2 is the only cell in row E that can be a 7
cell D8 is the only cell in row D that can be a 7
cell F4 is the only cell in row F that can be a 8
cell F5 is the only cell in row F that can be a 5
cell B4 is the only cell in row B that can be a 5
cell F2 is the only cell in row F that can be a 1
cell E3 can only be a 4
cell D3 can only be a 2
no 2s can be placed in row F
backtracking
guessing that cell B1 is a 7
cell B3 can only be a 4
cell C2 can only be a 3
cell C7 can only be a 6
cell B7 can only be a 3
cell B8 can only be a 9
cell C9 can only be a 7
cell D7 can only be a 5
cell E7 can only be a 8
cell F4 is the only cell in row F that can be a 8
cell F5 is the only cell in row F that can be a 5
cell B4 is the only cell in row B that can be a 5
cell F2 is the only cell in row F that can be a 1
cell E3 can only be a 7
cell D3 can only be a 2
no 2s can be placed in row F
backtracking
cell B1 cannot be filled
backtracking
guessing that cell A4 is a 8
guessing that cell A5 is a 1
cell A8 can only be a 7
cell A9 can only be a 2
cell E9 is the only cell in column 9 that can be a 7
guessing that cell B1 is a 3
guessing that cell B3 is a 4
cell C2 can only be a 7
cell E3 can only be a 1
cell B4 is the only cell in row B that can be a 7
cell B5 is the only cell in row B that can be a 5
cell F4 is the only cell in row F that can be a 1
cell G4 can only be a 2
cell C4 can only be a 4
cell E4 can only be a 3
cell D4 can only be a 5
cell G3 can only be a 7
cell D3 can only be a 2
cell F1 can only be a 4
cell E2 can only be a 9
cell D1 can only be a 7
cell F2 can only be a 3
cell F8 can only be a 8
cell E7 can only be a 6
cell B7 can only be a 1
cell C7 can only be a 3
cell D7 cannot be filled
backtracking
guessing that cell B3 is a 7
cell C2 can only be a 4
cell C4 is the only cell in row C that can be a 7
cell D1 is the only cell in row D that can be a 7
cell G2 is the only cell in row G that can be a 7
cell J2 is the only cell in column 2 that can be a 6
cell J9 can only be a 3
cell C7 is the only cell in row C that can be a 3
cell E2 is the only cell in the left box that can be a 9
cell H2 can only be a 1
cell F2 can only be a 3
cell E4 is the only cell in row E that can be a 3
cell D8 is the only cell in row D that can be a 3
cell F4 is the only cell in row F that can be a 1
cell G4 can only be a 2
cell G3 can only be a 4
cell D3 can only be a 2
cell E3 can only be a 1
cell F1 can only be a 4
no 4s can be placed in the right box
backtracking
cell B3 cannot be filled
backtracking
guessing that cell B1 is a 4
cell B3 can only be a 7
cell B4 can only be a 5
cell C2 can only be a 3
cell C7 can only be a 6
cell C9 can only be a 9
cell C5 can only be a 2
cell C6 can only be a 4
cell C4 can only be a 7
cell D1 is the only cell in row D that can be a 7
cell G2 is the only cell in row G that can be a 7
cell F1 is the only cell in column 1 that can be a 3
cell F4 is the only cell in row F that can be a 2
cell G4 can only be a 1
cell D3 is the only cell in row D that can be a 2
cell G3 can only be a 4
cell E3 can only be a 1
no 1s can be placed in row F
backtracking
guessing that cell B1 is a 7
cell B3 can only be a 4
cell B4 can only be a 5
cell C2 can only be a 3
cell C7 can only be a 6
cell C9 can only be a 9
cell C5 can only be a 2
cell C6 can only be a 4
cell C4 can only be a 7
cell E3 can only be a 1
cell F2 can only be a 4
cell E2 can only be a 9
cell H2 can only be a 1
cell J2 can only be a 6
cell G2 can only be a 7
cell G3 can only be a 2
cell D3 can only be a 7
cell G4 can only be a 1
no 1s can be placed in row F
backtracking
cell B1 cannot be filled
backtracking
guessing that cell A5 is a 2
cell A9 can only be a 7
cell A8 can only be a 1
cell D8 is the only cell in column 8 that can be a 7
guessing that cell B1 is a 3
cell B7 can only be a 6
cell B8 can only be a 9
cell G1 is the only cell in column 1 that can be a 7
cell E9 is the only cell in the right box that can be a 6
guessing that cell B3 is a 4
cell B6 can only be a 1
cell B5 can only be a 5
cell B4 can only be a 7
cell C2 can only be a 7
cell C4 can only be a 4
cell D3 can only be a 2
cell F1 can only be a 4
no 4s can be placed in the right box
backtracking
guessing that cell B3 is a 7
cell C2 can only be a 4
cell C4 can only be a 7
cell E2 is the only cell in row E that can be a 7
cell F2 is the only cell in column 2 that can be a 3
cell J8 is the only cell in column 8 that can be a 3
cell J9 can only be a 2
cell C9 can only be a 3
cell C7 can only be a 2
cell J1 can only be a 8
cell J6 can only be a 1
cell B6 can only be a 4
cell G4 can only be a 2
cell H6 can only be a 8
cell E6 can only be a 9
cell C6 can only be a 6
cell C5 can only be a 9
cell D6 can only be a 2
no 2s can be placed in column 3
backtracking
cell B3 cannot be filled
backtracking
guessing that cell B1 is a 4
cell B3 can only be a 7
cell C2 can only be a 3
cell C4 is the only cell in row C that can be a 7
cell C6 is the only cell in row C that can be a 4
cell E2 is the only cell in row E that can be a 7
cell G1 is the only cell in row G that can be a 7
cell D1 is the only cell in the left box that can be a 9
cell F1 is the only cell in column 1 that can be a 3
cell F4 is the only cell in row F that can be a 2
cell D6 can only be a 6
cell D5 can only be a 5
cell D7 can only be a 3
cell B7 can only be a 6
cell C7 can only be a 2
cell C9 can only be a 9
cell B8 can only be a 3
cell C5 can only be a 6
cell D4 can only be a 4
cell D3 can only be a 2
cell E7 can only be a 8
cell F8 can only be a 4
cell E9 can only be a 6
cell F2 can only be a 1
cell E3 can only be a 4
cell F5 can only be a 8
cell F9 can only be a 5
cell G3 can only be a 1
cell G4 cannot be filled
backtracking
guessing that cell B1 is a 7
cell B3 can only be a 4
cell C2 can only be a 3
cell D3 can only be a 2
cell C4 is the only cell in row C that can be a 7
cell C6 is the only cell in row C that can be a 4
cell F4 is the only cell in row F that can be a 2
cell G4 can only be a 1
cell B4 can only be a 5
cell G3 can only be a 7
cell E3 can only be a 1
cell F2 can only be a 4
cell F1 can only be a 3
cell D1 can only be a 9
cell D6 can only be a 6
cell D5 can only be a 5
cell D7 can only be a 3
cell B7 can only be a 6
cell C7 can only be a 2
cell C9 can only be a 9
cell B8 can only be a 3
cell C5 can only be a 6
cell D4 can only be a 4
cell E2 can only be a 7
cell E4 can only be a 3
cell E7 can only be a 8
cell F8 cannot be filled
backtracking
cell B1 cannot be filled
backtracking
cell A5 cannot be filled
backtracking
cell A4 cannot be filled
backtracking
guessing that cell A2 is a 7
cell A8 can only be a 1
cell A9 can only be a 2
cell B3 is the only cell in the top-left box that can be a 5
guessing that cell A4 is a 5
cell A5 can only be a 8
guessing that cell B1 is a 3
cell B7 can only be a 6
cell C2 can only be a 4
cell C7 can only be a 3
cell D7 can only be a 5
cell E7 can only be a 8
cell F5 is the only cell in row F that can be a 5
cell F4 is the only cell in row F that can be a 8
cell F2 is the only cell in row F that can be a 1
cell F1 is the only cell in row F that can be a 2
cell J1 can only be a 8
cell G8 is the only cell in row G that can be a 8
cell H6 is the only cell in row H that can be a 8
cell H7 is the only cell in row H that can be a 1
no 2s can be placed in row H
backtracking
guessing that cell B1 is a 4
cell C2 can only be a 3
cell C7 can only be a 6
cell B7 can only be a 3
cell D7 can only be a 5
cell E7 can only be a 8
cell F5 is the only cell in row F that can be a 5
cell F4 is the only cell in row F that can be a 8
cell F2 is the only cell in row F that can be a 1
cell F1 is the only cell in row F that can be a 2
cell J1 can only be a 8
cell H1 can only be a 9
cell G1 can only be a 7
cell D1 can only be a 3
cell G8 is the only cell in row G that can be a 8
cell H8 can only be a 4
cell F8 can only be a 3
cell F9 can only be a 4
cell H2 can only be a 5
cell H9 cannot be filled
backtracking
cell B1 cannot be filled
backtracking
guessing that cell A4 is a 8
cell A5 can only be a 5
guessing that cell B1 is a 3
cell B7 can only be a 6
cell C2 can only be a 4
cell C7 can only be a 3
cell D7 can only be a 5
cell E7 can only be a 8
cell F4 is the only cell in row F that can be a 5
cell F5 is the only cell in row F that can be a 8
cell F2 is the only cell in row F that can be a 1
cell F1 is the only cell in row F that can be a 2
cell J1 can only be a 8
cell G8 is the only cell in row G that can be a 8
cell H6 is the only cell in row H that can be a 8
cell H7 is the only cell in row H that can be a 1
no 2s can be placed in row H
backtracking
guessing that cell B1 is a 4
cell C2 can only be a 3
cell C7 can only be a 6
cell B7 can only be a 3
cell D7 can only be a 5
cell E7 can only be a 8
cell F4 is the only cell in row F that can be a 5
cell F5 is the only cell in row F that can be a 8
cell F2 is the only cell in row F that can be a 1
cell F1 is the only cell in row F that can be a 2
cell J1 can only be a 8
cell H1 can only be a 9
cell G1 can only be a 7
cell D1 can only be a 3
cell G8 is the only cell in row G that can be a 8
cell H8 can only be a 4
cell F8 can only be a 3
cell F9 can only be a 4
cell H2 can only be a 5
cell H9 cannot be filled
backtracking
cell B1 cannot be filled
backtracking
cell A4 cannot be filled
backtracking
cell A2 cannot be filled
backtracking
guessing that cell A1 is a 7
cell C3 is the only cell in the top-left box that can be a 8
guessing that cell A2 is a 5
cell B3 can only be a 4
cell J3 is the only cell in column 3 that can be a 5
guessing that cell A4 is a 1
cell A8 can only be a 6
cell A9 can only be a 2
cell A5 can only be a 8
cell C7 can only be a 3
cell B7 can only be a 1
cell C2 can only be a 6
cell B1 can only be a 3
cell J2 can only be a 1
cell F5 is the only cell in row F that can be a 1
cell E3 is the only cell in row E that can be a 1
cell G8 is the only cell in row G that can be a 1
cell H6 is the only cell in row H that can be a 1
guessing that cell B4 is a 5
cell B8 is the only cell in row B that can be a 7
cell C9 can only be a 9
cell C5 can only be a 2
cell C6 can only be a 4
cell C4 can only be a 7
cell D3 is the only cell in row D that can be a 7
cell G3 can only be a 2
cell G4 can only be a 8
cell G7 can only be a 6
cell D7 can only be a 5
no 5s can be placed in row F
backtracking
guessing that cell B4 is a 7
cell B8 can only be a 9
cell B6 can only be a 6
cell B5 can only be a 5
cell C9 can only be a 7
cell E2 is the only cell in row E that can be a 7
cell D3 can only be a 2
cell F1 can only be a 4
cell D1 can only be a 9
cell D5 can only be a 6
cell D6 can only be a 4
cell D7 can only be a 5
cell D4 can only be a 3
cell D8 can only be a 7
cell E4 can only be a 8
cell E5 can only be a 9
cell E6 cannot be filled
backtracking
cell B4 cannot be filled
backtracking
guessing that cell A4 is a 2
cell A9 can only be a 6
cell A8 can only be a 1
cell A5 can only be a 8
cell B7 can only be a 3
cell B1 can only be a 6
cell C2 can only be a 3
cell C7 can only be a 2
guessing that cell B4 is a 1
cell B6 can only be a 9
cell B5 can only be a 5
cell B8 can only be a 7
cell C5 can only be a 6
cell C6 can only be a 4
cell C4 can only be a 7
cell C9 can only be a 9
cell G4 can only be a 8
cell D3 is the only cell in row D that can be a 7
cell E3 can only be a 1
cell E5 can only be a 9
cell D5 can only be a 2
cell D6 can only be a 6
cell D7 can only be a 5
cell E2 can only be a 4
cell F2 cannot be filled
backtracking
guessing that cell B4 is a 5
cell B8 is the only cell in row B that can be a 7
cell C9 can only be a 9
cell C5 can only be a 6
cell C6 can only be a 4
cell C4 can only be a 7
cell D3 is the only cell in row D that can be a 7
cell E3 can only be a 1
cell E5 can only be a 9
cell B5 can only be a 1
cell B6 can only be a 9
cell E2 can only be a 4
cell F2 cannot be filled
backtracking
guessing that cell B4 is a 7
cell B8 can only be a 9
cell B6 can only be a 1
cell B5 can only be a 5
cell C4 can only be a 4
cell C9 can only be a 7
cell J2 is the only cell in row J that can be a 1
cell F2 can only be a 4
cell H2 can only be a 9
cell E2 can only be a 7
cell D3 can only be a 2
cell E3 can only be a 1
cell F1 can only be a 3
cell D1 can only be a 9
cell D5 can only be a 6
cell C5 can only be a 9
cell E5 cannot be filled
backtracking
cell B4 cannot be filled
backtracking
guessing that cell A4 is a 8
guessing that cell A5 is a 1
cell A8 can only be a 6
cell A9 can only be a 2
cell C7 can only be a 3
cell B7 can only be a 1
cell C2 can only be a 6
cell B1 can only be a 3
cell J2 can only be a 1
cell F4 is the only cell in row F that can be a 1
cell G4 can only be a 2
cell G3 can only be a 7
cell D3 can only be a 2
cell E3 can only be a 1
cell F1 can only be a 4
cell D1 can only be a 9
cell F2 can only be a 3
cell E2 can only be a 7
cell F8 can only be a 8
cell E7 can only be a 6
cell D7 can only be a 5
cell F9 cannot be filled
backtracking
guessing that cell A5 is a 2
cell A9 can only be a 6
cell A8 can only be a 1
cell B7 can only be a 3
cell B1 can only be a 6
cell C2 can only be a 3
cell C7 can only be a 2
guessing that cell B4 is a 1
cell B6 can only be a 9
cell B5 can only be a 5
cell B8 can only be a 7
cell C5 can only be a 6
cell C6 can only be a 4
cell C4 can only be a 7
cell C9 can only be a 9
cell D5 can only be a 9
cell G4 can only be a 2
cell G9 can only be a 4
cell D3 is the only cell in row D that can be a 7
no 2s can be placed in column 3
backtracking
guessing that cell B4 is a 5
cell B8 is the only cell in row B that can be a 7
cell C9 can only be a 9
cell C5 can only be a 6
cell C6 can only be a 4
cell C4 can only be a 7
cell D3 is the only cell in row D that can be a 7
cell E3 can only be a 1
cell F2 can only be a 4
cell E2 can only be a 9
cell E5 can only be a 8
cell E6 can only be a 6
cell E7 cannot be filled
backtracking
guessing that cell B4 is a 7
cell B8 can only be a 9
cell B6 can only be a 1
cell B5 can only be a 5
cell C4 can only be a 4
cell C9 can only be a 7
cell J2 is the only cell in row J that can be a 1
cell F2 can only be a 4
cell H2 can only be a 9
cell E2 can only be a 7
cell D3 can only be a 2
cell E3 can only be a 1
cell E4 can only be a 3
cell D4 can only be a 5
cell D7 can only be a 6
cell D5 can only be a 9
no 9s can be placed in row E
backtracking
cell B4 cannot be filled
backtracking
guessing that cell A5 is a 6
cell A8 can only be a 1
cell A9 can only be a 2
guessing that cell B1 is a 3
cell B7 can only be a 6
cell C2 can only be a 6
cell C7 can only be a 3
cell D7 can only be a 5
cell E7 can only be a 8
cell J2 can only be a 1
cell F5 is the only cell in row F that can be a 8
cell F4 is the only cell in row F that can be a 1
no 5s can be placed in row F
backtracking
guessing that cell B1 is a 6
cell B7 can only be a 3
cell C2 can only be a 3
cell C7 can only be a 6
cell D7 can only be a 5
cell E7 can only be a 8
cell F5 is the only cell in row F that can be a 8
cell F4 is the only cell in row F that can be a 5
cell B5 is the only cell in row B that can be a 5
cell F2 is the only cell in row F that can be a 1
cell E3 can only be a 7
cell D3 can only be a 2
no 2s can be placed in row F
backtracking
cell B1 cannot be filled
backtracking
cell A5 cannot be filled
backtracking
cell A4 cannot be filled
backtracking
guessing that cell A2 is a 6
cell A8 can only be a 1
cell A9 can only be a 2
cell B3 is the only cell in the top-left box that can be a 5
guessing that cell A4 is a 5
cell A5 can only be a 8
guessing that cell B1 is a 3
cell B7 can only be a 6
cell C2 can only be a 4
cell C7 can only be a 3
cell D7 can only be a 5
cell E7 can only be a 8
cell F5 is the only cell in row F that can be a 5
cell F4 is the only cell in row F that can be a 8
cell F2 is the only cell in row F that can be a 1
cell J2 can only be a 5
cell H2 can only be a 9
cell G2 can only be a 7
cell E2 can only be a 3
cell F1 is the only cell in row F that can be a 2
cell H9 is the only cell in row H that can be a 5
cell D1 is the only cell in column 1 that can be a 9
cell D4 is the only cell in column 4 that can be a 3
guessing that cell B4 is a 1
cell B5 can only be a 9
cell B6 can only be a 4
cell B8 can only be a 7
cell C9 can only be a 9
cell E4 can only be a 4
cell E3 can only be a 7
no 7s can be placed in row D
backtracking
guessing that cell B4 is a 4
cell E4 can only be a 1
cell G4 can only be a 2
cell C4 can only be a 7
cell C9 can only be a 9
cell B8 can only be a 7
cell G7 can only be a 1
cell G3 can only be a 4
no 4s can be placed in column 1
backtracking
guessing that cell B4 is a 7
cell B8 can only be a 9
cell B5 can only be a 1
cell B6 can only be a 4
cell C4 can only be a 2
cell C9 can only be a 7
cell G4 can only be a 1
cell E4 can only be a 4
cell E3 can only be a 7
cell D3 can only be a 4
cell E9 can only be a 6
cell D8 can only be a 7
cell E5 can only be a 9
cell C5 can only be a 6
cell C6 can only be a 9
cell D5 can only be a 2
cell D6 can only be a 6
cell E6 can only be a 1
cell G3 can only be a 2
cell G7 cannot be filled
backtracking
cell B4 cannot be filled
backtracking
guessing that cell B1 is a 4
cell C2 can only be a 3
cell C7 can only be a 6
cell B7 can only be a 3
cell D7 can only be a 5
cell E7 can only be a 8
cell F5 is the only cell in row F that can be a 5
cell F4 is the only cell in row F that can be a 8
cell F2 is the only cell in row F that can be a 1
cell J2 can only be a 5
cell F1 is the only cell in row F that can be a 2
cell H9 is the only cell in row H that can be a 5
cell D1 is the only cell in column 1 that can be a 3
cell E4 is the only cell in column 4 that can be a 3
cell E2 is the only cell in the left box that can be a 9
cell H2 can only be a 4
cell G2 can only be a 7
guessing that cell B4 is a 1
cell G4 can only be a 2
cell D4 can only be a 4
cell C4 can only be a 7
cell C9 can only be a 9
cell B8 can only be a 7
cell C5 can only be a 2
cell C6 can only be a 4
cell D3 can only be a 7
cell D8 can only be a 6
cell D5 can only be a 9
cell B5 can only be a 6
cell B6 can only be a 9
cell D6 can only be a 2
cell E3 can only be a 4
cell E5 can only be a 1
cell E6 can only be a 6
cell E9 can only be a 7
cell G3 can only be a 1
cell G7 cannot be filled
backtracking
guessing that cell B4 is a 7
cell B8 can only be a 9
cell C9 can only be a 7
cell H8 can only be a 8
cell H1 can only be a 9
cell E3 is the only cell in row E that can be a 7
cell D3 can only be a 4
cell D4 can only be a 2
cell C4 can only be a 4
cell G4 can only be a 1
cell G3 can only be a 2
cell G7 cannot be filled
backtracking
cell B4 cannot be filled
backtracking
cell B1 cannot be filled
backtracking
guessing that cell A4 is a 8
cell A5 can only be a 5
guessing that cell B1 is a 3
cell B7 can only be a 6
cell C2 can only be a 4
cell C7 can only be a 3
cell D7 can only be a 5
cell E7 can only be a 8
cell F4 is the only cell in row F that can be a 5
cell F5 is the only cell in row F that can be a 8
cell F2 is the only cell in row F that can be a 1
cell J2 can only be a 5
cell H2 can only be a 9
cell G2 can only be a 7
cell E2 can only be a 3
cell F1 is the only cell in row F that can be a 2
cell H9 is the only cell in row H that can be a 5
cell D1 is the only cell in column 1 that can be a 9
cell D4 is the only cell in column 4 that can be a 3
guessing that cell B4 is a 1
cell B5 can only be a 9
cell B6 can only be a 4
cell B8 can only be a 7
cell C9 can only be a 9
cell E4 can only be a 4
cell E3 can only be a 7
no 7s can be placed in row D
backtracking
guessing that cell B4 is a 4
cell E4 can only be a 1
cell G4 can only be a 2
cell C4 can only be a 7
cell C9 can only be a 9
cell B8 can only be a 7
cell G7 can only be a 1
cell G3 can only be a 4
no 4s can be placed in column 1
backtracking
guessing that cell B4 is a 7
cell B8 can only be a 9
cell B5 can only be a 1
cell B6 can only be a 4
cell C4 can only be a 2
cell C9 can only be a 7
cell G4 can only be a 1
cell E4 can only be a 4
cell E3 can only be a 7
cell D3 can only be a 4
cell E9 can only be a 6
cell D8 can only be a 7
cell E5 can only be a 9
cell C5 can only be a 6
cell C6 can only be a 9
cell D5 can only be a 2
cell D6 can only be a 6
cell E6 can only be a 1
cell G3 can only be a 2
cell G7 cannot be filled
backtracking
cell B4 cannot be filled
backtracking
guessing that cell B1 is a 4
cell C2 can only be a 3
cell C7 can only be a 6
cell B7 can only be a 3
cell D7 can only be a 5
cell E7 can only be a 8
cell F4 is the only cell in row F that can be a 5
cell F5 is the only cell in row F that can be a 8
cell F2 is the only cell in row F that can be a 1
cell J2 can only be a 5
cell F1 is the only cell in row F that can be a 2
cell H9 is the only cell in row H that can be a 5
cell D1 is the only cell in column 1 that can be a 3
cell E4 is the only cell in column 4 that can be a 3
cell E2 is the only cell in the left box that can be a 9
cell H2 can only be a 4
cell G2 can only be a 7
guessing that cell B4 is a 1
cell G4 can only be a 2
cell D4 can only be a 4
cell C4 can only be a 7
cell C9 can only be a 9
cell B8 can only be a 7
cell C5 can only be a 2
cell C6 can only be a 4
cell D3 can only be a 7
cell D8 can only be a 6
cell D5 can only be a 9
cell B5 can only be a 6
cell B6 can only be a 9
cell D6 can only be a 2
cell E3 can only be a 4
cell E5 can only be a 1
cell E6 can only be a 6
cell E9 can only be a 7
cell G3 can only be a 1
cell G7 cannot be filled
backtracking
guessing that cell B4 is a 7
cell B8 can only be a 9
cell C9 can only be a 7
cell H8 can only be a 8
cell H1 can only be a 9
cell E3 is the only cell in row E that can be a 7
cell D3 can only be a 4
cell D4 can only be a 2
cell C4 can only be a 4
cell G4 can only be a 1
cell G3 can only be a 2
cell G7 cannot be filled
backtracking
cell B4 cannot be filled
backtracking
cell B1 cannot be filled
backtracking
cell A4 cannot be filled
backtracking
cell A2 cannot be filled
backtracking
guessing that cell A1 is a 8
guessing that cell A2 is a 5
cell J3 is the only cell in column 3 that can be a 5
cell G3 is the only cell in column 3 that can be a 8
cell E3 is the only cell in column 3 that can be a 1
cell D3 is the only cell in column 3 that can be a 2
guessing that cell A4 is a 1
cell G4 can only be a 2
cell F5 is the only cell in row F that can be a 1
no 2s can be placed in row F
backtracking
guessing that cell A4 is a 2
cell G4 can only be a 1
cell F5 is the only cell in row F that can be a 1
no 2s can be placed in row F
backtracking
guessing that cell A4 is a 7
guessing that cell A5 is a 1
cell A8 can only be a 6
cell A9 can only be a 2
cell C7 can only be a 3
cell B7 can only be a 1
cell B1 is the only cell in row B that can be a 3
cell F1 can only be a 4
cell F2 can only be a 3
cell F8 can only be a 8
cell E7 can only be a 6
cell D7 can only be a 5
cell F9 cannot be filled
backtracking
guessing that cell A5 is a 2
cell A9 can only be a 6
cell A8 can only be a 1
cell B7 can only be a 3
cell C7 can only be a 2
cell C2 is the only cell in row C that can be a 3
cell F2 can only be a 4
cell F1 can only be a 3
cell F8 can only be a 8
cell E7 can only be a 6
cell D7 can only be a 5
cell F9 cannot be filled
backtracking
guessing that cell A5 is a 6
cell A8 can only be a 1
cell A9 can only be a 2
guessing that cell B1 is a 3
cell B7 can only be a 6
cell C7 can only be a 3
cell D7 can only be a 5
cell D5 can only be a 9
cell E5 can only be a 8
cell E7 cannot be filled
backtracking
guessing that cell B1 is a 4
no 4s can be placed in column 3
backtracking
guessing that cell B1 is a 6
cell B7 can only be a 3
cell C7 can only be a 6
cell D7 can only be a 5
cell D5 can only be a 9
cell E5 can only be a 8
cell E7 cannot be filled
backtracking
guessing that cell B1 is a 7
no 7s can be placed in column 3
backtracking
cell B1 cannot be filled
backtracking
cell A5 cannot be filled
backtracking
cell A4 cannot be filled
backtracking
guessing that cell A2 is a 6
cell B3 is the only cell in the top-left box that can be a 5
guessing that cell A4 is a 1
cell A8 can only be a 7
cell A9 can only be a 2
cell A5 can only be a 5
cell E9 is the only cell in column 9 that can be a 7
guessing that cell B1 is a 3
cell B4 is the only cell in row B that can be a 7
cell B6 is the only cell in row B that can be a 4
guessing that cell B5 is a 6
cell B7 can only be a 1
cell B8 can only be a 9
guessing that cell C2 is a 4
cell C3 can only be a 7
cell D1 is the only cell in row D that can be a 7
cell G2 is the only cell in row G that can be a 7
cell E2 is the only cell in the left box that can be a 9
cell F2 is the only cell in column 2 that can be a 3
cell F5 is the only cell in row F that can be a 1
cell E5 can only be a 8
cell E6 can only be a 6
cell E7 can only be a 3
cell C7 can only be a 6
cell C9 can only be a 3
cell D7 can only be a 5
cell E4 can only be a 4
cell E3 can only be a 1
cell F9 can only be a 4
cell D8 can only be a 6
cell F1 can only be a 2
cell D3 can only be a 4
cell F4 can only be a 5
cell F8 can only be a 8
cell J1 can only be a 6
cell J9 can only be a 5
cell H9 can only be a 9
cell G9 can only be a 6
cell H1 can only be a 4
cell G1 can only be a 9
cell H8 can only be a 1
no 1s can be placed in row G
backtracking
guessing that cell C2 is a 7
cell C3 can only be a 4
cell E3 can only be a 1
cell F5 is the only cell in row F that can be a 1
guessing that cell C4 is a 2
cell G4 can only be a 8
cell F1 is the only cell in row F that can be a 2
cell D3 can only be a 7
cell G3 can only be a 2
cell G7 can only be a 6
cell C7 can only be a 3
cell C9 can only be a 6
cell D7 can only be a 5
cell E7 can only be a 8
no 8s can be placed in row F
backtracking
guessing that cell C4 is a 8
cell G4 can only be a 2
cell F1 is the only cell in row F that can be a 2
cell D3 can only be a 7
cell G3 can only be a 8
cell G7 can only be a 6
cell C7 can only be a 3
cell C9 can only be a 6
cell D7 can only be a 5
cell E7 can only be a 8
no 8s can be placed in row F
backtracking
cell C4 cannot be filled
backtracking
cell C2 cannot be filled
backtracking
guessing that cell B5 is a 9
cell C9 is the only cell in row C that can be a 9
cell C7 is the only cell in row C that can be a 3
guessing that cell B7 is a 1
cell B8 can only be a 6
guessing that cell C2 is a 4
cell C3 can only be a 7
cell D1 is the only cell in row D that can be a 7
cell D6 is the only cell in row D that can be a 9
cell E2 is the only cell in row E that can be a 9
cell E4 is the only cell in row E that can be a 3
cell D8 is the only cell in row D that can be a 3
cell E3 is the only cell in row E that can be a 4
cell D3 can only be a 2
cell F1 cannot be filled
backtracking
guessing that cell C2 is a 7
cell C3 can only be a 4
cell E3 can only be a 1
cell F5 is the only cell in row F that can be a 1
guessing that cell C4 is a 2
cell G4 can only be a 8
cell F1 is the only cell in row F that can be a 2
cell D3 can only be a 7
cell G3 can only be a 2
cell G7 can only be a 6
no 6s can be placed in column 9
backtracking
guessing that cell C4 is a 8
cell G4 can only be a 2
cell F1 is the only cell in row F that can be a 2
cell D3 can only be a 7
cell G3 can only be a 8
cell G7 can only be a 6
no 6s can be placed in column 9
backtracking
cell C4 cannot be filled
backtracking
cell C2 cannot be filled
backtracking
guessing that cell B7 is a 6
cell B8 can only be a 1
cell D7 can only be a 5
cell E7 can only be a 8
cell F4 is the only cell in row F that can be a 5
cell F5 is the only cell in row F that can be a 8
cell F2 is the only cell in row F that can be a 1
cell E3 can only be a 4
cell C3 can only be a 7
cell C2 can only be a 4
cell D3 can only be a 2
cell F1 cannot be filled
backtracking
cell B7 cannot be filled
backtracking
cell B5 cannot be filled
backtracking
guessing that cell B1 is a 4
cell B4 can only be a 7
cell C3 can only be a 7
cell C2 can only be a 3
cell C7 can only be a 6
cell C9 can only be a 9
cell D1 is the only cell in row D that can be a 7
cell G2 is the only cell in row G that can be a 7
cell F1 is the only cell in column 1 that can be a 3
cell J9 is the only cell in column 9 that can be a 3
cell J2 is the only cell in row J that can be a 5
cell G9 is the only cell in column 9 that can be a 6
cell J1 is the only cell in row J that can be a 6
cell D8 is the only cell in column 8 that can be a 6
cell B8 is the only cell in column 8 that can be a 3
cell B7 can only be a 1
cell D3 is the only cell in the left box that can be a 2
cell D5 can only be a 9
cell B5 can only be a 6
cell B6 can only be a 9
cell D6 can only be a 4
cell C4 is the only cell in row C that can be a 4
cell E6 is the only cell in row E that can be a 6
cell E2 is the only cell in row E that can be a 9
cell E3 is the only cell in row E that can be a 4
cell F2 can only be a 1
cell H2 can only be a 4
cell H9 can only be a 5
cell F9 can only be a 4
cell F8 can only be a 8
cell E7 can only be a 3
cell D7 can only be a 5
cell D4 can only be a 3
cell E4 can only be a 8
cell E5 can only be a 1
cell F5 can only be a 2
cell C5 can only be a 8
cell C6 can only be a 2
no 2s can be placed in row J
backtracking
guessing that cell B1 is a 7
cell B4 can only be a 4
cell C3 can only be a 4
cell C2 can only be a 3
cell C7 can only be a 6
cell C9 can only be a 9
cell E3 can only be a 1
cell F2 can only be a 4
cell E2 can only be a 9
cell C4 is the only cell in row C that can be a 7
cell D3 is the only cell in row D that can be a 7
cell E6 is the only cell in row E that can be a 4
cell D8 is the only cell in row D that can be a 4
no 6s can be placed in the right box
backtracking
cell B1 cannot be filled
backtracking
guessing that cell A4 is a 2
cell A9 can only be a 7
cell A8 can only be a 1
cell A5 can only be a 5
cell D8 is the only cell in column 8 that can be a 7
guessing that cell B1 is a 3
cell B7 can only be a 6
cell B8 can only be a 9
cell B5 can only be a 1
cell B6 can only be a 4
cell B4 can only be a 7
cell C4 can only be a 8
cell G4 can only be a 1
cell F2 is the only cell in row F that can be a 1
cell J2 can only be a 5
cell E6 is the only cell in row E that can be a 1
cell H7 is the only cell in row H that can be a 1
cell H9 is the only cell in row H that can be a 5
cell F4 is the only cell in row F that can be a 5
cell D7 is the only cell in row D that can be a 5
cell D4 is the only cell in row D that can be a 3
cell E4 can only be a 4
cell E3 can only be a 7
cell C3 can only be a 4
cell C2 can only be a 7
cell D3 can only be a 2
cell F1 can only be a 4
no 4s can be placed in row D
backtracking
guessing that cell B1 is a 4
cell C3 can only be a 7
cell C2 can only be a 3
cell B4 is the only cell in row B that can be a 7
cell E2 is the only cell in row E that can be a 7
cell G1 is the only cell in row G that can be a 7
cell J1 is the only cell in column 1 that can be a 6
cell D1 is the only cell in the left box that can be a 9
cell H1 can only be a 2
cell F1 can only be a 3
cell F5 is the only cell in row F that can be a 2
cell D5 can only be a 6
cell D6 can only be a 4
cell D3 can only be a 2
cell C4 is the only cell in row C that can be a 4
cell J6 is the only cell in column 6 that can be a 2
guessing that cell B5 is a 1
guessing that cell B6 is a 6
cell B7 can only be a 3
cell B8 can only be a 9
cell D7 can only be a 5
cell D4 can only be a 3
cell F9 can only be a 4
cell F2 can only be a 1
cell E3 can only be a 4
cell F8 can only be a 8
cell E7 can only be a 6
cell C7 can only be a 2
cell C9 can only be a 6
cell E9 can only be a 3
cell F4 can only be a 5
cell H8 can only be a 4
cell G8 can only be a 6
cell J2 can only be a 5
cell J9 cannot be filled
backtracking
guessing that cell B6 is a 9
cell C5 can only be a 8
cell C6 can only be a 6
cell C7 can only be a 2
cell C9 can only be a 9
cell E5 can only be a 9
cell G9 is the only cell in row G that can be a 2
cell E9 is the only cell in column 9 that can be a 6
cell E3 is the only cell in row E that can be a 4
cell F2 can only be a 1
cell J2 can only be a 5
cell J9 can only be a 3
cell J8 can only be a 8
cell F8 can only be a 4
cell F9 can only be a 5
cell D7 can only be a 3
cell B7 can only be a 6
cell B8 can only be a 3
cell D4 can only be a 5
cell E7 can only be a 8
cell E6 can only be a 1
cell E4 can only be a 3
cell F4 can only be a 8
cell G4 can only be a 1
cell G7 cannot be filled
backtracking
cell B6 cannot be filled
backtracking
guessing that cell B5 is a 9
cell C5 can only be a 8
cell C6 can only be a 6
cell B6 can only be a 1
cell C7 can only be a 2
cell C9 can only be a 9
cell E5 can only be a 1
cell E3 can only be a 4
cell F2 can only be a 1
cell H6 can only be a 8
cell E6 can only be a 9
cell G4 can only be a 1
cell G3 can only be a 8
cell G7 can only be a 6
cell B7 can only be a 3
cell B8 can only be a 6
cell D7 can only be a 5
cell D4 can only be a 3
cell E4 can only be a 8
cell E7 cannot be filled
backtracking
cell B5 cannot be filled
backtracking
guessing that cell B1 is a 7
cell C3 can only be a 4
cell C2 can only be a 3
cell D3 can only be a 2
cell C4 is the only cell in row C that can be a 7
cell F5 is the only cell in row F that can be a 2
guessing that cell B4 is a 1
cell G4 can only be a 8
cell B6 is the only cell in row B that can be a 4
cell F2 is the only cell in row F that can be a 1
cell E3 can only be a 7
cell G3 can only be a 1
cell J2 can only be a 5
cell J3 can only be a 8
cell F8 is the only cell in row F that can be a 8
cell G2 is the only cell in row G that can be a 7
cell H7 is the only cell in row H that can be a 8
no 1s can be placed in column 7
backtracking
guessing that cell B4 is a 4
guessing that cell B5 is a 1
guessing that cell B6 is a 6
cell B7 can only be a 3
cell B8 can only be a 9
guessing that cell C5 is a 8
cell C6 can only be a 9
cell D6 can only be a 4
guessing that cell C7 is a 2
cell C9 can only be a 6
guessing that cell D1 is a 3
cell D4 can only be a 5
cell D7 can only be a 6
cell D5 can only be a 9
cell E5 can only be a 6
cell E7 can only be a 8
cell E6 can only be a 1
cell E3 can only be a 7
cell E4 can only be a 3
cell E9 can only be a 4
cell E2 can only be a 9
cell F1 can only be a 4
cell F2 can only be a 1
cell F4 can only be a 8
cell F8 can only be a 3
cell F9 can only be a 5
cell G4 can only be a 1
cell G7 cannot be filled
backtracking
guessing that cell D1 is a 9
cell D5 can only be a 6
cell D7 can only be a 5
cell D4 can only be a 3
cell E5 can only be a 9
cell E9 is the only cell in row E that can be a 3
cell F9 can only be a 4
cell F1 can only be a 3
cell F2 can only be a 1
cell E3 can only be a 7
cell E2 can only be a 4
cell F8 can only be a 8
cell E7 can only be a 6
cell F4 can only be a 5
cell H8 can only be a 4
cell G8 can only be a 6
cell H1 can only be a 2
cell G1 can only be a 4
cell J1 can only be a 6
cell J2 can only be a 5
cell H2 can only be a 9
cell G2 can only be a 7
cell H9 can only be a 5
cell J8 can only be a 3
cell J9 can only be a 2
no 2s can be placed in row G
backtracking
cell D1 cannot be filled
backtracking
guessing that cell C7 is a 6
cell C9 can only be a 2
cell D7 can only be a 5
cell D4 can only be a 3
cell D1 can only be a 9
cell D5 can only be a 6
cell E5 can only be a 9
cell E7 can only be a 8
cell E4 can only be a 1
cell E6 cannot be filled
backtracking
cell C7 cannot be filled
backtracking
guessing that cell C5 is a 9
cell C6 can only be a 8
cell D5 can only be a 6
cell D7 can only be a 5
cell D4 can only be a 3
cell E5 can only be a 8
cell E4 can only be a 1
cell E3 can only be a 7
cell E7 can only be a 6
cell C7 can only be a 2
cell C9 can only be a 6
cell F4 can only be a 5
cell G4 can only be a 8
cell G3 can only be a 1
cell G7 cannot be filled
backtracking
cell C5 cannot be filled
backtracking
guessing that cell B6 is a 9
cell C9 is the only cell in row C that can be a 9
cell C7 is the only cell in row C that can be a 2
guessing that cell B7 is a 3
cell B8 can only be a 6
guessing that cell C5 is a 6
cell C6 can only be a 8
cell D5 can only be a 9
cell E5 can only be a 8
cell E7 can only be a 6
cell D7 can only be a 5
cell D4 can only be a 3
cell D1 can only be a 4
cell D6 can only be a 6
cell E4 can only be a 1
cell E3 can only be a 7
cell E2 can only be a 9
cell E6 can only be a 4
cell E9 can only be a 3
cell F1 can only be a 3
cell F2 can only be a 1
cell F4 can only be a 5
cell F9 can only be a 4
cell F8 can only be a 8
cell G4 can only be a 8
cell G3 can only be a 1
cell G7 cannot be filled
backtracking
guessing that cell C5 is a 8
cell C6 can only be a 6
cell D6 can only be a 4
guessing that cell D1 is a 3
cell D4 can only be a 5
cell D7 can only be a 6
cell D5 can only be a 9
cell E5 can only be a 6
cell E7 can only be a 8
cell E6 can only be a 1
cell E3 can only be a 7
cell E4 can only be a 3
cell E9 can only be a 4
cell E2 can only be a 9
cell F1 can only be a 4
cell F2 can only be a 1
cell F4 can only be a 8
cell F8 can only be a 3
cell F9 can only be a 5
cell G4 can only be a 1
cell G7 cannot be filled
backtracking
guessing that cell D1 is a 9
cell D5 can only be a 6
cell D7 can only be a 5
cell D4 can only be a 3
cell E5 can only be a 9
cell E9 is the only cell in row E that can be a 3
cell F9 can only be a 4
cell F1 can only be a 3
cell F2 can only be a 1
cell E3 can only be a 7
cell E2 can only be a 4
cell F8 can only be a 8
cell E7 can only be a 6
cell F4 can only be a 5
cell J2 can only be a 5
cell H2 can only be a 9
cell G2 can only be a 7
cell H8 can only be a 4
cell G8 can only be a 9
cell H1 can only be a 2
cell H9 can only be a 5
cell J1 can only be a 6
cell G1 can only be a 4
cell J8 can only be a 3
cell J9 can only be a 2
no 2s can be placed in row G
backtracking
cell D1 cannot be filled
backtracking
cell C5 cannot be filled
backtracking
guessing that cell B7 is a 6
cell B8 can only be a 3
cell J9 is the only cell in row J that can be a 3
cell J2 is the only cell in row J that can be a 5
cell E9 is the only cell in the right box that can be a 6
guessing that cell C5 is a 6
cell C6 can only be a 8
cell D5 can only be a 9
cell E5 can only be a 8
cell E7 can only be a 3
cell D7 can only be a 5
cell D4 can only be a 3
cell D1 can only be a 4
cell D6 can only be a 6
cell E4 can only be a 1
cell E3 can only be a 7
cell E2 can only be a 9
cell E6 can only be a 4
cell F1 can only be a 3
cell F2 can only be a 1
cell F4 can only be a 5
cell F9 can only be a 4
cell F8 can only be a 8
cell G4 can only be a 8
cell G3 can only be a 1
cell G7 cannot be filled
backtracking
guessing that cell C5 is a 8
cell C6 can only be a 6
cell D6 can only be a 4
cell E5 can only be a 9
cell D5 can only be a 6
cell D1 is the only cell in row D that can be a 9
cell E2 is the only cell in row E that can be a 4
cell F1 can only be a 3
cell F2 can only be a 1
cell E3 can only be a 7
cell H2 can only be a 9
cell G2 can only be a 7
cell G8 is the only cell in row G that can be a 9
cell G1 is the only cell in row G that can be a 6
cell J1 can only be a 2
cell H1 can only be a 4
cell H8 can only be a 8
cell F8 can only be a 4
cell F9 can only be a 5
cell D7 can only be a 3
cell D4 can only be a 5
cell E7 can only be a 8
cell E6 can only be a 1
cell E4 can only be a 3
cell F4 can only be a 8
cell G4 can only be a 1
cell G7 cannot be filled
backtracking
cell C5 cannot be filled
backtracking
cell B7 cannot be filled
backtracking
cell B6 cannot be filled
backtracking
guessing that cell B5 is a 6
cell B7 can only be a 3
cell B8 can only be a 9
cell B6 can only be a 1
cell D5 can only be a 9
cell C5 can only be a 8
cell C6 can only be a 9
cell E5 can only be a 1
cell E3 can only be a 7
cell E2 is the only cell in row E that can be a 9
cell F2 is the only cell in row F that can be a 1
cell J2 can only be a 5
cell H2 can only be a 4
cell G2 can only be a 7
cell H8 can only be a 8
cell H6 can only be a 2
cell H1 can only be a 9
cell H9 can only be a 5
cell H7 can only be a 1
cell J6 can only be a 8
cell G4 can only be a 1
cell G3 can only be a 8
cell J3 can only be a 1
cell F4 is the only cell in row F that can be a 5
no 8s can be placed in row F
backtracking
guessing that cell B5 is a 9
cell D5 can only be a 6
cell C5 can only be a 8
cell C6 can only be a 6
cell B6 can only be a 1
cell C7 can only be a 2
cell C9 can only be a 9
cell E5 can only be a 1
cell E3 can only be a 7
cell F2 is the only cell in row F that can be a 1
cell J2 can only be a 5
cell G2 is the only cell in row G that can be a 7
cell H7 is the only cell in row H that can be a 1
cell H9 is the only cell in row H that can be a 5
cell F4 is the only cell in row F that can be a 5
cell D4 can only be a 3
cell D7 can only be a 5
cell E4 can only be a 8
cell G4 can only be a 1
cell G3 can only be a 8
no 8s can be placed in column 7
backtracking
cell B5 cannot be filled
backtracking
cell B4 cannot be filled
backtracking
cell B1 cannot be filled
backtracking
guessing that cell A4 is a 5
guessing that cell A5 is a 1
cell A8 can only be a 7
cell A9 can only be a 2
cell E9 is the only cell in column 9 that can be a 7
guessing that cell B1 is a 3
cell B4 is the only cell in row B that can be a 7
cell B6 is the only cell in row B that can be a 4
guessing that cell B5 is a 6
cell B7 can only be a 1
cell B8 can only be a 9
guessing that cell C2 is a 4
cell C3 can only be a 7
cell D1 is the only cell in row D that can be a 7
cell G2 is the only cell in row G that can be a 7
cell E2 is the only cell in the left box that can be a 9
cell E5 can only be a 8
cell F8 is the only cell in row F that can be a 8
cell F2 is the only cell in column 2 that can be a 3
cell F4 is the only cell in row F that can be a 1
cell E6 can only be a 6
cell E7 can only be a 3
cell C7 can only be a 6
cell C9 can only be a 3
cell D7 can only be a 5
cell E4 can only be a 4
cell E3 can only be a 1
cell F9 can only be a 4
cell D8 can only be a 6
cell F1 can only be a 2
cell D3 can only be a 4
cell F5 can only be a 5
cell J1 can only be a 6
cell J9 can only be a 5
cell H9 can only be a 9
cell G9 can only be a 6
cell H1 can only be a 4
cell G1 can only be a 9
cell H8 can only be a 1
no 1s can be placed in row G
backtracking
guessing that cell C2 is a 7
cell C3 can only be a 4
cell E3 can only be a 1
cell F4 is the only cell in row F that can be a 1
guessing that cell C4 is a 2
cell G4 can only be a 8
cell J3 is the only cell in column 3 that can be a 8
guessing that cell C5 is a 8
cell C6 can only be a 9
cell E5 can only be a 9
cell D1 is the only cell in row D that can be a 9
cell D3 is the only cell in row D that can be a 7
cell G3 can only be a 2
cell G7 can only be a 6
cell C7 can only be a 3
cell C9 can only be a 6
cell D7 can only be a 5
cell D5 can only be a 2
cell D6 can only be a 6
no 6s can be placed in row E
backtracking
guessing that cell C5 is a 9
cell C6 can only be a 8
cell E5 can only be a 8
cell F8 is the only cell in row F that can be a 8
cell H7 is the only cell in row H that can be a 8
cell G7 is the only cell in column 7 that can be a 2
cell G3 can only be a 7
cell D3 can only be a 2
cell D5 can only be a 5
no 5s can be placed in column 7
backtracking
cell C5 cannot be filled
backtracking
guessing that cell C4 is a 8
cell G4 can only be a 2
cell H7 is the only cell in column 7 that can be a 2
cell D7 is the only cell in column 7 that can be a 5
cell F5 is the only cell in row F that can be a 5
cell F1 is the only cell in row F that can be a 2
cell D3 can only be a 7
cell G3 can only be a 8
cell G7 can only be a 6
cell C7 can only be a 3
cell C9 can only be a 6
cell E7 can only be a 8
no 8s can be placed in row F
backtracking
cell C4 cannot be filled
backtracking
cell C2 cannot be filled
backtracking
guessing that cell B5 is a 9
cell C9 is the only cell in row C that can be a 9
cell C7 is the only cell in row C that can be a 3
guessing that cell B7 is a 1
cell B8 can only be a 6
guessing that cell C2 is a 4
cell C3 can only be a 7
cell D1 is the only cell in row D that can be a 7
cell D6 is the only cell in row D that can be a 9
cell E2 is the only cell in row E that can be a 9
cell E4 is the only cell in row E that can be a 3
cell D8 is the only cell in row D that can be a 3
cell E3 is the only cell in row E that can be a 4
cell D3 can only be a 2
cell F1 cannot be filled
backtracking
guessing that cell C2 is a 7
cell C3 can only be a 4
cell E3 can only be a 1
cell F4 is the only cell in row F that can be a 1
guessing that cell C4 is a 2
cell G4 can only be a 8
cell J3 is the only cell in column 3 that can be a 8
guessing that cell C5 is a 6
cell C6 can only be a 8
cell E5 can only be a 8
cell E7 can only be a 6
cell D7 can only be a 5
cell D5 can only be a 2
cell D3 can only be a 7
cell E6 can only be a 9
cell D6 can only be a 6
cell F5 can only be a 5
cell G3 can only be a 2
cell G7 cannot be filled
backtracking
guessing that cell C5 is a 8
cell C6 can only be a 6
cell E5 can only be a 6
cell E7 can only be a 8
no 8s can be placed in row F
backtracking
cell C5 cannot be filled
backtracking
guessing that cell C4 is a 8
cell G4 can only be a 2
cell H7 is the only cell in column 7 that can be a 2
cell D7 is the only cell in column 7 that can be a 5
cell F5 is the only cell in row F that can be a 5
cell F1 is the only cell in row F that can be a 2
cell D3 can only be a 7
cell G3 can only be a 8
cell G7 can only be a 6
no 6s can be placed in column 9
backtracking
cell C4 cannot be filled
backtracking
cell C2 cannot be filled
backtracking
guessing that cell B7 is a 6
cell B8 can only be a 1
cell D7 can only be a 5
cell E7 can only be a 8
cell E5 can only be a 6
cell D5 can only be a 2
cell C5 can only be a 8
cell C4 can only be a 2
cell C6 can only be a 6
cell D6 can only be a 9
cell E6 can only be a 1
cell E3 can only be a 4
cell C3 can only be a 7
cell D3 cannot be filled
backtracking
cell B7 cannot be filled
backtracking
cell B5 cannot be filled
backtracking
guessing that cell B1 is a 4
cell B4 can only be a 7
cell C3 can only be a 7
cell C2 can only be a 3
cell C7 can only be a 6
cell C9 can only be a 9
cell D1 is the only cell in row D that can be a 7
cell G2 is the only cell in row G that can be a 7
cell F1 is the only cell in column 1 that can be a 3
cell J9 is the only cell in column 9 that can be a 3
cell J2 is the only cell in row J that can be a 5
cell G9 is the only cell in column 9 that can be a 6
cell J1 is the only cell in row J that can be a 6
cell D8 is the only cell in column 8 that can be a 6
cell B8 is the only cell in column 8 that can be a 3
cell B7 can only be a 1
cell D3 is the only cell in the left box that can be a 2
cell J6 is the only cell in row J that can be a 2
cell E2 is the only cell in the left box that can be a 9
guessing that cell B5 is a 6
cell B6 can only be a 9
cell D6 can only be a 4
cell C6 can only be a 8
cell C5 can only be a 2
cell C4 can only be a 4
cell D4 can only be a 3
cell D7 can only be a 5
cell D5 can only be a 9
cell E5 can only be a 8
cell E4 can only be a 1
cell E3 can only be a 4
cell E6 can only be a 6
cell E7 can only be a 3
cell F2 can only be a 1
cell F4 can only be a 2
cell F5 can only be a 5
cell F9 can only be a 4
cell F8 can only be a 8
cell G4 can only be a 8
cell G3 can only be a 1
cell G7 can only be a 2
cell G1 can only be a 9
cell G8 can only be a 4
cell H1 can only be a 2
cell H2 can only be a 4
cell H6 can only be a 1
cell H7 can only be a 8
cell H8 can only be a 9
cell H9 can only be a 5
cell J3 can only be a 8
cell J8 can only be a 1
done!
solution:
8 6 9 5 1 3 4 7 2
4 2 5 7 6 9 1 3 8
1 3 7 4 2 8 6 5 9
7 8 2 3 9 4 5 6 1
5 9 4 1 8 6 3 2 7
3 1 6 2 5 7 9 8 4
9 7 1 8 3 5 2 4 6
2 4 3 6 7 1 8 9 5
6 5 8 9 4 2 7 1 3
cell J6 is the only cell in the bottom box that can be a 2
guessing that cell A2 is a 1
guessing that cell A3 is a 2
guessing that cell A4 is a 5
cell A5 is the only cell in row A that can be a 8
cell B8 is the only cell in row B that can be a 5
guessing that cell A7 is a 7
cell A9 can only be a 9
guessing that cell B1 is a 4
cell B4 can only be a 3
cell B9 can only be a 6
cell C1 can only be a 6
cell H4 can only be a 8
cell H1 can only be a 5
cell H6 can only be a 9
cell B6 can only be a 7
cell B2 can only be a 9
cell B3 can only be a 8
cell C3 can only be a 7
cell C6 can only be a 1
cell E6 cannot be filled
backtracking
guessing that cell B1 is a 6
cell B9 can only be a 3
cell B4 can only be a 4
cell C1 can only be a 4
cell B3 is the only cell in row B that can be a 8
cell G8 is the only cell in row G that can be a 8
cell J1 is the only cell in row J that can be a 8
cell H1 can only be a 5
cell F6 is the only cell in column 6 that can be a 5
cell D3 is the only cell in row D that can be a 5
cell F4 is the only cell in row F that can be a 8
cell H4 can only be a 3
cell C4 can only be a 1
cell E4 can only be a 2
cell E1 can only be a 1
no 1s can be placed in column 6
backtracking
guessing that cell B1 is a 8
cell J8 is the only cell in row J that can be a 8
cell G3 is the only cell in row G that can be a 8
cell J1 is the only cell in the bottom-left box that can be a 1
guessing that cell B2 is a 4
cell B4 can only be a 3
cell B9 can only be a 6
cell C1 can only be a 6
cell H4 can only be a 8
cell J2 can only be a 3
cell F2 can only be a 6
cell E2 can only be a 9
cell G2 can only be a 7
cell J9 can only be a 4
cell F6 is the only cell in row F that can be a 8
cell H9 is the only cell in row H that can be a 7
cell G5 is the only cell in column 5 that can be a 3
cell G7 is the only cell in row G that can be a 5
cell J7 can only be a 9
cell J5 can only be a 5
no 5s can be placed in column 6
backtracking
guessing that cell B2 is a 6
cell B9 can only be a 3
cell B4 can only be a 4
cell C1 can only be a 4
cell H1 can only be a 5
cell J9 can only be a 4
cell J2 can only be a 3
cell F2 can only be a 4
cell E2 can only be a 9
cell G2 can only be a 7
cell H3 can only be a 4
cell E5 is the only cell in row E that can be a 4
cell D7 is the only cell in row D that can be a 4
cell E6 is the only cell in row E that can be a 7
cell B6 can only be a 9
cell B3 can only be a 7
cell C3 can only be a 9
cell C6 can only be a 1
cell C4 can only be a 3
cell C5 can only be a 7
cell H4 can only be a 8
cell H6 cannot be filled
backtracking
guessing that cell B2 is a 7
cell B6 can only be a 9
cell B3 can only be a 4
cell B4 can only be a 3
cell B9 can only be a 6
cell C1 can only be a 6
cell C3 can only be a 9
cell G2 can only be a 3
cell G5 can only be a 5
cell G7 can only be a 2
cell C7 can only be a 3
cell C8 can only be a 2
cell G8 can only be a 1
cell G9 can only be a 7
cell H4 can only be a 8
cell H6 cannot be filled
backtracking
guessing that cell B2 is a 9
cell B6 can only be a 7
cell B3 can only be a 4
cell B4 can only be a 3
cell B9 can only be a 6
cell C1 can only be a 6
cell C3 can only be a 7
cell E6 can only be a 1
cell C6 can only be a 9
cell C5 can only be a 4
cell C4 can only be a 1
cell H4 can only be a 8
cell H6 can only be a 5
no 5s can be placed in the bottom-left box
backtracking
cell B2 cannot be filled
backtracking
cell B1 cannot be filled
backtracking
guessing that cell A7 is a 9
cell A9 can only be a 7
guessing that cell B1 is a 4
cell B4 can only be a 3
cell B9 can only be a 6
cell C1 can only be a 6
cell H4 can only be a 8
cell H1 can only be a 5
cell H6 can only be a 9
cell B6 can only be a 7
cell B2 can only be a 9
cell B3 can only be a 8
cell C3 can only be a 7
cell C6 can only be a 1
cell E6 cannot be filled
backtracking
guessing that cell B1 is a 6
cell B9 can only be a 3
cell B4 can only be a 4
cell C1 can only be a 4
cell B3 is the only cell in row B that can be a 8
cell G8 is the only cell in row G that can be a 8
cell J1 is the only cell in row J that can be a 8
cell H1 can only be a 5
cell F6 is the only cell in column 6 that can be a 5
cell D3 is the only cell in row D that can be a 5
cell F4 is the only cell in row F that can be a 8
cell H4 can only be a 3
cell C4 can only be a 1
cell E4 can only be a 2
cell E1 can only be a 1
no 1s can be placed in column 6
backtracking
guessing that cell B1 is a 8
cell J8 is the only cell in row J that can be a 8
cell G3 is the only cell in row G that can be a 8
cell J1 is the only cell in the bottom-left box that can be a 1
guessing that cell B2 is a 4
cell B4 can only be a 3
cell B9 can only be a 6
cell C1 can only be a 6
cell H4 can only be a 8
cell J2 can only be a 3
cell F2 can only be a 6
cell E2 can only be a 9
cell G2 can only be a 7
cell F6 is the only cell in row F that can be a 8
cell H7 is the only cell in row H that can be a 7
cell H8 is the only cell in row H that can be a 6
cell E5 is the only cell in row E that can be a 6
cell D7 is the only cell in row D that can be a 6
cell E6 is the only cell in row E that can be a 7
cell B6 can only be a 9
cell B3 can only be a 7
cell C3 can only be a 9
cell C6 can only be a 1
cell C4 can only be a 4
cell C5 can only be a 7
cell H6 can only be a 5
no 5s can be placed in the bottom-left box
backtracking
guessing that cell B2 is a 6
cell B9 can only be a 3
cell B4 can only be a 4
cell C1 can only be a 4
cell H1 can only be a 5
cell G2 is the only cell in column 2 that can be a 7
cell H7 is the only cell in row H that can be a 7
cell E2 is the only cell in column 2 that can be a 9
cell F6 is the only cell in column 6 that can be a 5
cell D3 is the only cell in row D that can be a 5
cell D9 is the only cell in row D that can be a 1
cell G9 can only be a 2
cell F4 is the only cell in row F that can be a 8
cell H4 can only be a 3
cell C4 can only be a 1
cell E4 can only be a 2
cell E1 can only be a 6
cell D1 can only be a 2
cell E8 can only be a 3
cell G5 can only be a 5
cell G7 can only be a 3
cell G8 can only be a 1
cell H3 can only be a 4
cell E3 can only be a 1
no 1s can be placed in row F
backtracking
guessing that cell B2 is a 7
cell B6 can only be a 9
cell B3 can only be a 4
cell B4 can only be a 3
cell B9 can only be a 6
cell C1 can only be a 6
cell C3 can only be a 9
cell G2 can only be a 3
cell G5 can only be a 5
cell H4 can only be a 8
cell H6 cannot be filled
backtracking
guessing that cell B2 is a 9
cell B6 can only be a 7
cell B3 can only be a 4
cell B4 can only be a 3
cell B9 can only be a 6
cell C1 can only be a 6
cell C3 can only be a 7
cell E6 can only be a 1
cell C6 can only be a 9
cell C5 can only be a 4
cell C4 can only be a 1
cell H4 can only be a 8
cell H6 can only be a 5
no 5s can be placed in the bottom-left box
backtracking
cell B2 cannot be filled
backtracking
cell B1 cannot be filled
backtracking
cell A7 cannot be filled
backtracking
guessing that cell A4 is a 8
guessing that cell A5 is a 5
cell B8 is the only cell in row B that can be a 5
guessing that cell A7 is a 7
cell A9 can only be a 9
guessing that cell B1 is a 4
cell B4 can only be a 3
cell B9 can only be a 6
cell C1 can only be a 6
cell H4 can only be a 5
cell H1 can only be a 8
cell H6 can only be a 9
cell B6 can only be a 7
cell B2 can only be a 9
cell B3 can only be a 8
cell C3 can only be a 7
cell C6 can only be a 1
cell E6 cannot be filled
backtracking
guessing that cell B1 is a 6
cell B9 can only be a 3
cell B4 can only be a 4
cell C1 can only be a 4
cell B3 is the only cell in row B that can be a 8
guessing that cell B2 is a 7
cell B6 can only be a 9
cell C3 can only be a 9
cell G2 can only be a 3
cell G5 can only be a 8
cell H6 can only be a 5
cell H1 can only be a 8
cell H4 can only be a 3
cell C4 can only be a 1
cell C6 can only be a 7
cell C5 can only be a 3
cell E4 can only be a 2
cell E1 can only be a 1
cell E6 cannot be filled
backtracking
guessing that cell B2 is a 9
cell B6 can only be a 7
cell C3 can only be a 7
cell E6 can only be a 1
cell C6 can only be a 9
cell C5 can only be a 3
cell C4 can only be a 1
cell E1 can only be a 2
cell E4 cannot be filled
backtracking
cell B2 cannot be filled
backtracking
guessing that cell B1 is a 8
guessing that cell B2 is a 4
cell B4 can only be a 3
cell B9 can only be a 6
cell C1 can only be a 6
cell H4 can only be a 5
cell H1 can only be a 4
cell J2 can only be a 3
cell F2 can only be a 6
cell E2 can only be a 9
cell G2 can only be a 7
cell H3 can only be a 8
cell H6 can only be a 9
cell B6 can only be a 7
cell B3 can only be a 9
cell C3 can only be a 7
cell C6 can only be a 1
cell E6 cannot be filled
backtracking
guessing that cell B2 is a 6
cell B9 can only be a 3
cell B4 can only be a 4
cell C1 can only be a 4
cell H1 can only be a 5
no 5s can be placed in the bottom box
backtracking
guessing that cell B2 is a 7
cell B6 can only be a 9
cell B3 can only be a 4
cell B4 can only be a 3
cell B9 can only be a 6
cell C1 can only be a 6
cell C3 can only be a 9
cell G2 can only be a 3
cell G5 can only be a 8
cell H4 can only be a 5
cell H6 cannot be filled
backtracking
guessing that cell B2 is a 9
cell B6 can only be a 7
cell B3 can only be a 4
cell B4 can only be a 3
cell B9 can only be a 6
cell C1 can only be a 6
cell C3 can only be a 7
cell E6 can only be a 1
cell C6 can only be a 9
cell C5 can only be a 4
cell C4 can only be a 1
cell D5 can only be a 6
cell E5 can only be a 7
cell F5 can only be a 8
cell F6 can only be a 5
cell G5 can only be a 3
cell G2 can only be a 7
cell H4 can only be a 5
cell H1 can only be a 4
cell E1 can only be a 2
cell E4 can only be a 4
cell F4 can only be a 2
cell H6 can only be a 8
cell H3 can only be a 3
cell J2 cannot be filled
backtracking
cell B2 cannot be filled
backtracking
cell B1 cannot be filled
backtracking
guessing that cell A7 is a 9
cell A9 can only be a 7
guessing that cell B1 is a 4
cell B4 can only be a 3
cell B9 can only be a 6
cell C1 can only be a 6
cell H4 can only be a 5
cell H1 can only be a 8
cell H6 can only be a 9
cell B6 can only be a 7
cell B2 can only be a 9
cell B3 can only be a 8
cell C3 can only be a 7
cell C6 can only be a 1
cell E6 cannot be filled
backtracking
guessing that cell B1 is a 6
cell B9 can only be a 3
cell B4 can only be a 4
cell C1 can only be a 4
cell B3 is the only cell in row B that can be a 8
guessing that cell B2 is a 7
cell B6 can only be a 9
cell C3 can only be a 9
cell G2 can only be a 3
cell G5 can only be a 8
cell H6 can only be a 5
cell H1 can only be a 8
cell H4 can only be a 3
cell C4 can only be a 1
cell C6 can only be a 7
cell C5 can only be a 3
cell E4 can only be a 2
cell E1 can only be a 1
cell E6 cannot be filled
backtracking
guessing that cell B2 is a 9
cell B6 can only be a 7
cell C3 can only be a 7
cell E6 can only be a 1
cell C6 can only be a 9
cell C5 can only be a 3
cell C4 can only be a 1
cell E1 can only be a 2
cell E4 cannot be filled
backtracking
cell B2 cannot be filled
backtracking
guessing that cell B1 is a 8
guessing that cell B2 is a 4
cell B4 can only be a 3
cell B9 can only be a 6
cell C1 can only be a 6
cell H4 can only be a 5
cell H1 can only be a 4
cell J2 can only be a 3
cell F2 can only be a 6
cell E2 can only be a 9
cell G2 can only be a 7
cell H3 can only be a 8
cell H6 can only be a 9
cell B6 can only be a 7
cell B3 can only be a 9
cell C3 can only be a 7
cell C6 can only be a 1
cell E6 cannot be filled
backtracking
guessing that cell B2 is a 6
cell B9 can only be a 3
cell B4 can only be a 4
cell C1 can only be a 4
cell H1 can only be a 5
no 5s can be placed in the bottom box
backtracking
guessing that cell B2 is a 7
cell B6 can only be a 9
cell B3 can only be a 4
cell B4 can only be a 3
cell B9 can only be a 6
cell C1 can only be a 6
cell C3 can only be a 9
cell G2 can only be a 3
cell G5 can only be a 8
cell H4 can only be a 5
cell H6 cannot be filled
backtracking
guessing that cell B2 is a 9
cell B6 can only be a 7
cell B3 can only be a 4
cell B4 can only be a 3
cell B9 can only be a 6
cell C1 can only be a 6
cell C3 can only be a 7
cell E6 can only be a 1
cell C6 can only be a 9
cell C5 can only be a 4
cell C4 can only be a 1
cell D5 can only be a 6
cell E5 can only be a 7
cell F5 can only be a 8
cell F6 can only be a 5
cell G5 can only be a 3
cell G2 can only be a 7
cell H4 can only be a 5
cell H1 can only be a 4
cell E1 can only be a 2
cell E4 can only be a 4
cell F4 can only be a 2
cell H6 can only be a 8
cell H3 can only be a 3
cell J2 cannot be filled
backtracking
cell B2 cannot be filled
backtracking
cell B1 cannot be filled
backtracking
cell A7 cannot be filled
backtracking
guessing that cell A5 is a 7
cell A9 can only be a 9
cell A7 can only be a 5
cell E6 is the only cell in row E that can be a 7
guessing that cell B1 is a 4
cell C1 can only be a 6
cell B3 is the only cell in row B that can be a 8
guessing that cell B2 is a 7
cell C3 can only be a 9
cell C6 can only be a 1
cell G2 can only be a 3
cell J2 can only be a 4
cell F2 can only be a 6
cell E2 can only be a 9
cell B6 is the only cell in row B that can be a 9
cell B4 is the only cell in row B that can be a 5
cell H4 can only be a 3
cell C4 can only be a 4
cell C5 can only be a 3
cell C8 can only be a 2
cell C7 can only be a 7
cell G7 can only be a 2
cell H7 is the only cell in row H that can be a 9
cell J7 can only be a 3
cell F7 can only be a 4
cell D7 can only be a 6
cell J9 can only be a 1
cell D9 can only be a 2
cell F9 can only be a 3
cell B9 can only be a 6
cell B8 can only be a 3
cell E8 can only be a 1
cell E1 can only be a 2
cell E4 cannot be filled
backtracking
guessing that cell B2 is a 9
cell B6 can only be a 5
cell B4 can only be a 3
cell B8 can only be a 6
cell B9 can only be a 7
cell C3 can only be a 7
cell H4 can only be a 5
cell H1 can only be a 8
cell H6 can only be a 9
cell C6 can only be a 1
cell C4 can only be a 4
cell C5 can only be a 9
cell F6 can only be a 8
cell H8 can only be a 3
cell C8 can only be a 2
cell C7 can only be a 3
cell E8 can only be a 1
cell E1 can only be a 2
cell E4 cannot be filled
backtracking
cell B2 cannot be filled
backtracking
guessing that cell B1 is a 6
cell B8 can only be a 3
cell B9 can only be a 7
cell C1 can only be a 4
cell B2 can only be a 9
cell B3 can only be a 8
cell B6 can only be a 5
cell B4 can only be a 4
cell C3 can only be a 7
cell E3 is the only cell in row E that can be a 9
cell E2 is the only cell in row E that can be a 3
cell G2 can only be a 7
cell J2 can only be a 4
cell F2 can only be a 6
cell E5 is the only cell in row E that can be a 4
cell E8 is the only cell in row E that can be a 6
cell C8 can only be a 2
cell C7 can only be a 6
cell D5 is the only cell in row D that can be a 6
cell H9 is the only cell in row H that can be a 6
cell H7 is the only cell in row H that can be a 4
no 7s can be placed in row H
backtracking
guessing that cell B1 is a 8
guessing that cell B2 is a 4
cell C1 can only be a 6
cell J2 can only be a 3
cell F2 can only be a 6
cell E2 can only be a 9
cell G2 can only be a 7
guessing that cell B3 is a 7
cell C3 can only be a 9
cell C6 can only be a 1
cell B6 is the only cell in row B that can be a 9
cell B4 is the only cell in row B that can be a 5
cell H4 can only be a 3
cell C4 can only be a 4
cell C5 can only be a 3
cell C8 can only be a 2
cell C7 can only be a 7
cell H9 is the only cell in row H that can be a 7
cell H7 is the only cell in row H that can be a 9
cell J7 can only be a 4
cell J9 can only be a 1
cell J1 can only be a 5
cell H1 can only be a 4
cell H3 can only be a 8
cell G3 can only be a 1
cell H6 can only be a 5
cell F6 can only be a 8
cell G5 can only be a 8
cell H8 can only be a 6
cell B8 can only be a 3
cell B9 can only be a 6
cell E8 can only be a 1
cell E1 can only be a 2
cell E4 cannot be filled
backtracking
guessing that cell B3 is a 9
cell B6 can only be a 5
cell B4 can only be a 3
cell B8 can only be a 6
cell B9 can only be a 7
cell C3 can only be a 7
cell H4 can only be a 5
cell H1 can only be a 4
cell H3 can only be a 8
cell H6 can only be a 9
cell C6 can only be a 1
cell C4 can only be a 4
cell C5 can only be a 9
cell F6 can only be a 8
cell H8 can only be a 3
cell C8 can only be a 2
cell C7 can only be a 3
cell E8 can only be a 1
cell E1 can only be a 2
cell E4 cannot be filled
backtracking
cell B3 cannot be filled
backtracking
guessing that cell B2 is a 6
cell B8 can only be a 3
cell B9 can only be a 7
cell C1 can only be a 4
cell B3 can only be a 9
cell B6 can only be a 5
cell B4 can only be a 4
cell C3 can only be a 7
cell H1 can only be a 5
cell H4 can only be a 3
cell C4 can only be a 1
cell C6 can only be a 9
cell C5 can only be a 3
cell E4 can only be a 2
cell F4 can only be a 5
cell H6 can only be a 8
cell F6 can only be a 1
cell G5 can only be a 5
cell H3 can only be a 4
cell F3 can only be a 3
no 3s can be placed in row E
backtracking
guessing that cell B2 is a 7
cell G2 can only be a 3
cell J2 can only be a 4
cell F2 can only be a 6
cell E2 can only be a 9
cell H1 can only be a 5
cell H4 can only be a 3
cell J1 can only be a 1
cell J9 can only be a 3
cell B9 can only be a 6
cell B8 can only be a 3
cell C8 can only be a 2
cell C7 can only be a 7
cell G7 can only be a 2
cell J7 can only be a 9
cell C5 is the only cell in row C that can be a 3
no 9s can be placed in column 5
backtracking
guessing that cell B2 is a 9
cell B6 can only be a 5
cell E3 is the only cell in row E that can be a 9
cell G2 is the only cell in column 2 that can be a 7
cell C1 is the only cell in the top-left box that can be a 6
guessing that cell B3 is a 4
cell B4 can only be a 3
cell B8 can only be a 6
cell B9 can only be a 7
cell C3 can only be a 7
cell H4 can only be a 5
cell H1 can only be a 4
cell J2 can only be a 3
cell H3 can only be a 8
cell H6 can only be a 9
cell C6 can only be a 1
cell C4 can only be a 4
cell C5 can only be a 9
cell F6 can only be a 8
cell H8 can only be a 3
no 3s can be placed in row E
backtracking
guessing that cell B3 is a 7
cell C3 can only be a 4
cell B4 is the only cell in row B that can be a 4
cell C7 is the only cell in row C that can be a 7
cell C8 is the only cell in row C that can be a 2
cell H9 is the only cell in row H that can be a 7
guessing that cell B8 is a 3
cell B9 can only be a 6
cell E2 is the only cell in row E that can be a 3
cell J2 can only be a 4
cell F2 can only be a 6
cell H1 can only be a 5
cell H4 can only be a 3
cell C4 can only be a 1
cell C6 can only be a 9
cell C5 can only be a 3
cell E4 can only be a 2
cell F4 can only be a 5
cell F3 can only be a 1
no 1s can be placed in column 6
backtracking
guessing that cell B8 is a 6
cell B9 can only be a 3
cell H7 is the only cell in row H that can be a 6
cell H1 is the only cell in row H that can be a 4
cell J2 can only be a 3
cell E8 is the only cell in row E that can be a 3
cell F3 is the only cell in row F that can be a 3
cell H4 is the only cell in row H that can be a 3
cell C4 can only be a 1
cell C6 can only be a 9
no 9s can be placed in row H
backtracking
cell B8 cannot be filled
backtracking
cell B3 cannot be filled
backtracking
cell B2 cannot be filled
backtracking
cell B1 cannot be filled
backtracking
guessing that cell A5 is a 9
cell A9 can only be a 7
cell A7 can only be a 5
cell H6 is the only cell in column 6 that can be a 9
cell F6 is the only cell in column 6 that can be a 8
cell B6 is the only cell in column 6 that can be a 5
guessing that cell B1 is a 4
cell B4 can only be a 3
cell B8 can only be a 6
cell B9 can only be a 9
cell B2 can only be a 7
cell B3 can only be a 8
cell C1 can only be a 6
cell C3 can only be a 9
cell G2 can only be a 3
cell H4 can only be a 5
cell G5 can only be a 8
cell H1 can only be a 8
cell H8 can only be a 3
cell C8 can only be a 2
cell C7 can only be a 3
cell E8 can only be a 1
cell E1 can only be a 2
cell E4 can only be a 4
cell C4 can only be a 1
no 1s can be placed in column 6
backtracking
guessing that cell B1 is a 6
cell B8 can only be a 3
cell B4 can only be a 4
cell B9 can only be a 9
cell B2 can only be a 7
cell B3 can only be a 8
cell C1 can only be a 4
cell C3 can only be a 9
cell G2 can only be a 3
cell J2 can only be a 4
cell F2 can only be a 6
cell E2 can only be a 9
cell E3 is the only cell in row E that can be a 3
cell E5 is the only cell in row E that can be a 4
cell F5 can only be a 5
cell D5 can only be a 6
cell G5 can only be a 8
cell J5 can only be a 3
cell C5 can only be a 7
cell C6 can only be a 1
cell C4 can only be a 3
cell E6 can only be a 7
cell H4 can only be a 5
cell H1 can only be a 8
cell H3 can only be a 7
cell H8 can only be a 6
no 6s can be placed in row E
backtracking
guessing that cell B1 is a 8
guessing that cell B2 is a 4
cell B4 can only be a 3
cell B8 can only be a 6
cell B9 can only be a 9
cell B3 can only be a 7
cell C1 can only be a 6
cell C3 can only be a 9
cell H4 can only be a 5
cell H1 can only be a 4
cell J2 can only be a 3
cell F2 can only be a 6
cell E2 can only be a 9
cell G2 can only be a 7
cell H3 can only be a 8
cell H8 can only be a 3
cell C8 can only be a 2
cell C7 can only be a 3
cell E8 can only be a 1
cell E1 can only be a 2
cell E4 can only be a 4
cell C4 can only be a 1
no 1s can be placed in column 6
backtracking
guessing that cell B2 is a 6
cell B8 can only be a 3
cell B4 can only be a 4
cell B9 can only be a 9
cell B3 can only be a 7
cell C1 can only be a 4
cell C3 can only be a 9
cell H1 can only be a 5
cell H4 can only be a 3
cell C4 can only be a 1
cell C6 can only be a 7
cell C5 can only be a 3
cell E4 can only be a 2
cell E6 can only be a 1
cell E1 can only be a 6
cell E8 cannot be filled
backtracking
guessing that cell B2 is a 7
cell G2 can only be a 3
cell J2 can only be a 4
cell F2 can only be a 6
cell E2 can only be a 9
cell H1 can only be a 5
cell H4 can only be a 3
cell B4 can only be a 4
cell B3 can only be a 9
cell C3 can only be a 4
cell C1 can only be a 6
cell C4 can only be a 1
cell C6 can only be a 7
cell C5 can only be a 3
cell C8 can only be a 2
cell C7 can only be a 9
cell E4 can only be a 2
cell E6 can only be a 1
cell E1 can only be a 4
cell E3 can only be a 3
cell E8 can only be a 6
cell B8 can only be a 3
cell B9 can only be a 6
cell E5 can only be a 7
cell F4 can only be a 5
cell F3 can only be a 1
cell D1 can only be a 2
cell D3 can only be a 5
cell D7 can only be a 4
cell D5 can only be a 6
cell D9 can only be a 1
cell F5 can only be a 4
cell G9 can only be a 2
cell F9 can only be a 3
cell F7 can only be a 2
cell G7 can only be a 7
cell G3 can only be a 8
cell G5 can only be a 5
cell G8 can only be a 1
cell H3 can only be a 7
cell H7 can only be a 6
cell H8 can only be a 8
cell H9 can only be a 4
cell J1 can only be a 1
cell J5 can only be a 8
cell J7 can only be a 3
cell J8 can only be a 5
cell J9 can only be a 9
done!
solution:
3 1 2 8 9 6 5 4 7
8 7 9 4 2 5 1 3 6
6 5 4 1 3 7 9 2 8
2 8 5 9 6 3 4 7 1
4 9 3 2 7 1 8 6 5
7 6 1 5 4 8 2 9 3
9 3 8 6 5 4 7 1 2
5 2 7 3 1 9 6 8 4
1 4 6 7 8 2 3 5 9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment