4 ms·
How to Solve the Sudoku Puzzle with Programming
- gcatalfamo 5y ago> For a junior programmer, a programming language is something like Angular or Blockchain, while for a senior developer, a language is Ruby or Python. What?
- 0xFFFFFFFFF 5y agoAlso: > A data structure is a linked list, a red-black tree, or another data structure. Seems we have a recursive definition here
- dllthomas 5y agoIt's a joke, like about half of the article. There's some non-humor value to the whole thing too, though, if you get far enough in.
- DylanSp 5y agoI didn't realize it was a joke until I saw the author's newsletter about it today. Should've caught it earlier, though, given how different it is from his usual high quality.
- dllthomas 5y agohttps://buttondown.email/hillelwayne/archive/new-essay-and-thoughts-on-clickfarm/ https://buttondown.email/hillelwayne/archive/new-essay-and-t... seems to be the newsletter in question; I am not subscribed despite fitting the demographics on a number of axes.
- DylanSp 5y agoIndeed. It's generally an interesting newsletter, covers some interesting topics.
- throwaway889900 5y agoFor something equally as unreadable as J, try APL! http://dfns.dyalog.com/n_sudoku_bfs.htm http://dfns.dyalog.com/n_sudoku_bfs.htm
- cbarrick 5y agoMy favorite way to solve constraint satisfaction problems is by using the the excellent CLP(FD) or CLP(Z) libraries for Prolog. A sudoku solver can be written in just a few lines [1]. [1]: https://github.com/triska/clpfd/blob/master/sudoku.pl https://github.com/triska/clpfd/blob/master/sudoku.pl
- dunefox 5y agoNorvigs Sudoku solver: https://norvig.com/sudoku.html https://norvig.com/sudoku.html