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

I think for Sudoku there are a lot fewer legal board configs than there are arrangements of the numbers. There’s probably a way to store the solved state as a single number and then just use 27 bits to specify which numbers are revealed. I don’t know what that single number looks like, though, and you’d have to check that there was only one legal solution to the revealed numbers.


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

Search: