Skip to content

Instantly share code, notes, and snippets.

@dps

dps/K

Last active December 10, 2015 08:28
Show Gist options
  • Save dps/4407934 to your computer and use it in GitHub Desktop.
Save dps/4407934 to your computer and use it in GitHub Desktop.
ShortestSudokuSolver in K
p:+{(=x)x}'p,,3/:_(p:,/'+:\9#'!9)%3
1@,/$*{$[&/x;,x;,/.z.s'@[x;i;:;]'&27=x[,/p i:x?0]?!10]}@.:'*.z.x;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment