This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Dave Hoover (author)
Sat Apr 25 22:53:29 -0700 2009
commit 2829f85cd0ac58844f1a53628268fcde04cea79d
tree a20ec993a5f1b1f253c3ee1a6dfaa66c02219825
parent 0ca7216710d9d8e8748f133ab096163769810de1
tree a20ec993a5f1b1f253c3ee1a6dfaa66c02219825
parent 0ca7216710d9d8e8748f133ab096163769810de1
nest / sudoku
| name | age | message | |
|---|---|---|---|
| .. | |||
| |
README | Thu Jan 01 20:30:50 -0800 2009 | |
| |
board.rb | Thu Jan 01 20:30:50 -0800 2009 | |
| |
brain.rb | Fri Jan 02 06:53:47 -0800 2009 | |
| |
brain_cell.rb | Fri Jan 02 06:53:47 -0800 2009 | |
| |
core_ext.rb | Thu Jan 01 19:57:32 -0800 2009 | |
| |
grids.rb | Fri Jan 02 06:53:47 -0800 2009 | |
| |
solver.rb | Fri Jan 02 06:53:47 -0800 2009 | |
| |
solvers.rb | Fri Jan 02 06:53:47 -0800 2009 | |
| |
test.rb | Fri Jan 02 06:25:45 -0800 2009 |
sudoku/README
To use this code, require 'sudoku/solver', then call the solve function with a String like
53 7
6 195
98 6
8 6 3
4 8 3 1
7 2 6
6 28
419 5
8 79
and the solve function will return a String like
534678912
672195348
198342567
859761423
426853791
713924856
961537284
287419635
345286179
You can run the tests with: ruby test.rb
The original evolution of this solution can be found at http://gist.github.com/41670






