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

> As noted, you can keep all the same variables as a regular Sudoku solver

What are those variables exactly?



For a depth-first solution (backtracking), I'd assume mostly just the partial solutions and a few small counters/indices/masks - like for tracking the cell we're up to and which cells were prefilled. Specifics will depend on the solver, but can be made part of Markov chain's state regardless.




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

Search: