Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can solve it via brute force if you cut off branches that don't satisfy the rules:

https://github.com/tonyedgecombe/Sudoku/blob/master/Sudoku/P...

It's not 1ms but it's not that slow either.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: