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

I had to write a sudoku solver in a job interview on a white board. I felt and still feel that it was a bit non-trivial for a job interview question, but nonetheless I arrived at the same answer Peter Norvig did.


I wonder, what if I don't know Sudoku rules at all?


Not being sarcastic: The interviewer would explain it to you in 2 minutes (like the article does, including very common strategies), offer you a simple one to sovle and maybe grant you a little more time to come up with an algorithm.

If you don't understand sudoku rules afterwards or cannot implement something according to a set of rules and without previous exposure, than this might be a result the interviewer is interested in as well?


I see. Indeed, the rules are so simple it's insulting.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: