Skip to content

misternu/sudoku

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

sudoku

During one week of Dev Bootcamp, I became obsessed with the idea that I could make a faster solution to the sudoku challenge. I made a couple solutions, this is my fastest one. This is insane, because it isn't what ruby is for, but here it is anyway.

To run the original 15 puzzles, just run ruby runner.rb. Modify the range in runner if you want to run the 16th puzzle ('the hardest puzzle' by some finnish mathematician) or a different combination of puzzles. The solved strings will print to the terminal and a benchmark will also print.

screenshot

The current runtime for the 15 puzzles.

About

One of my sudoku solutions from my time at DBC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages