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.
The "little squares" are the NxN cubes inside the sudoku. For instance if you were given
All the lines and columns are correct. But none of the blocks is (the upper left block hold numbers
1,2,3,2,3,4,3,4,5
).Using Ruby
"Sudoku with invalid boxes (little squares), but valid rows and columns - Expected: false, instead got: true".
What "little squares"? I can't see the data I'm testing against. I'm currently checking to see if a given element is_a?(Integer) so I don't see why this error would crop up.
LOL! I love people like this!!
This comment is hidden because it contains spoiler information about the solution
Why does this work?
Unpack returns an array, and * is just a shorthand method to join the array as a string by the supplied delimiter ('.')
If he really wants 8...