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.
Atropus, please use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
Can you explain all your code i do not underestand.
This comment is hidden because it contains spoiler information about the solution
Oh my god, that's so smart! I love it :)
Yes, "board", the same nomenclature used in the solution description!
I've just reviewed the code again and see that I was indeed incorrect - couldn't see the wood for the trees.
The data storage is what threw me. I assumed that the boards are stored as data arrays, so the first array is the entire board in the top left corner, rather than the data being a literal view of the entire sudoku board, as in the first array is the entire top row.
I'm not sure if this data storage is a good idea or not (I'm inclined to think not!) but it may have been intentional on part of the author to add another layer of data translation into the kata.
As such, I'll remove the issue flag and fix my code ;)
Erm, 'board'? Maybe you meant rows and columns? Anyway, 5's can't make this board not valid, because all 5's are in different lines (rows, columns) and different quads. There is no repeating digit in any row, column or quad, so this sudoku is perfectly valid.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution