Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
When an issue is specified, the language has to be noted, with insuffient information.
If this is still an issue, please reraise noting the language(s) which need to be addressed.
.
Harder one? I even included 2 puzzles that are imperfect / have multiple solutions if you dare to try the beta and collaborate to make it approved!
http://www.codewars.com/kata/hard-sudoku-solver
The test cases need some rework anyway (at least in the Haskell version). So if you feel like it, you could write your own Kata with generator and validator.
I guess mine runs in
O(n^4)
, wheren
is the grid size (only if block size is fixed). I'm interested how you could improve that. Often times you just combine randomness, luck and a heuristic approach (e.g. first check columns/rows/blocks with few missing elements), this could maybe somehow lead toO(n^2)
. But I guess I'm not wasting enough time with playing sudokus. :)