Skip to content

bhadrik/Sudoku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sudoku

Console application to solve sudoku

+-----------------+ +--------------------+
| 1->INPUT SUDOKU | | 0->GO WITH DEFAULT |
+-----------------+ +--------------------+

0

Input
    1 2 3 | 4 5 6 | 7 8 9
  +-------+-------+-------+
1 |       | 8     |   2   |
2 | 6 5 8 |       |     7 |
3 |   9   |       |   8 3 |
  +-------+-------+-------+
4 |       | 9     |       |
5 |   6 2 |       |     4 |
6 |     7 |   2   | 8 1   |
  +-------+-------+-------+
7 | 5     | 7   2 |       |
8 |     4 |       | 6   8 |
9 |       |   6   |   4   |
  +-------+-------+-------+

Output
    1 2 3 | 4 5 6 | 7 8 9
  +-------+-------+-------+
1 | 7 4 3 | 8 5 9 | 1 2 6 |
2 | 6 5 8 | 2 1 3 | 4 9 7 |
3 | 2 9 1 | 4 7 6 | 5 8 3 |
  +-------+-------+-------+
4 | 8 1 5 | 9 3 4 | 7 6 2 |
5 | 9 6 2 | 1 8 7 | 3 5 4 |
6 | 4 3 7 | 6 2 5 | 8 1 9 |
  +-------+-------+-------+
7 | 5 8 6 | 7 4 2 | 9 3 1 |
8 | 3 2 4 | 5 9 1 | 6 7 8 |
9 | 1 7 9 | 3 6 8 | 2 4 5 |
  +-------+-------+-------+

About

Console application to solve sudoku

Resources

Stars

Watchers

Forks

Languages