Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sn99/sudoku-solver
A sudoku solver
https://github.com/sn99/sudoku-solver
Last synced: 14 days ago
JSON representation
A sudoku solver
- Host: GitHub
- URL: https://github.com/sn99/sudoku-solver
- Owner: sn99
- License: mit
- Created: 2019-02-16T23:31:17.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-06T12:53:47.000Z (over 3 years ago)
- Last Synced: 2023-03-03T22:04:19.587Z (over 1 year ago)
- Language: Rust
- Size: 9.77 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sudoku-solver
[![Build Status](https://travis-ci.com/sn99/sudoku-solver.svg?branch=master)](https://travis-ci.com/sn99/sudoku-solver)
A sudoku solver in Rust
Usage : `cargo run --release`
Use `0` to show blank spaces in the grid
Eg -
```
0 0 8 0 0 0 9 0 0
3 5 0 0 0 0 0 8 6
0 7 0 9 0 6 0 3 0
8 0 2 0 9 0 6 0 1
0 0 0 7 0 8 0 0 0
7 0 5 0 2 0 4 0 8
0 2 0 1 0 3 0 6 0
9 6 0 0 0 0 0 5 2
0 0 3 0 0 0 7 0 0
```
gives
```
6 1 8 5 3 2 9 4 7
3 5 9 4 1 7 2 8 6
2 7 4 9 8 6 1 3 58 4 2 3 9 5 6 7 1
1 9 6 7 4 8 5 2 3
7 3 5 6 2 1 4 9 84 2 7 1 5 3 8 6 9
9 6 1 8 7 4 3 5 2
5 8 3 2 6 9 7 1 4
```