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.
AHh - yes. Forgot about the "little squares". Thanks
Not a kata issue, and it's been explained before, check Flewis's post below.
In the JS kata the below sudoku array test states that it should return false - but I cant see why as it is a valid sudoku matrix?
[
[ 1, 2, 3, 4, 5, 6, 7, 8, 9 ],
[ 2, 3, 1, 5, 6, 4, 8, 9, 7 ],
[ 3, 1, 2, 6, 4, 5, 9, 7, 8 ],
[ 4, 5, 6, 7, 8, 9, 1, 2, 3 ],
[ 5, 6, 4, 8, 9, 7, 2, 3, 1 ],
[ 6, 4, 5, 9, 7, 8, 3, 1, 2 ],
[ 7, 8, 9, 1, 2, 3, 4, 5, 6 ],
[ 8, 9, 7, 2, 3, 1, 5, 6, 4 ],
[ 9, 7, 8, 3, 1, 2, 6, 4, 5 ]
]
Not only is that a really clever solution - it is also a really clear and straightforward solution ;)
This bit of code has helped me immensely on how to look at and disect some fo these problems.
Thanks!