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.
This comment is hidden because it contains spoiler information about the solution
they are almost the same
this is what I was trying to do with my solution, was trying to figure out how to pass a variable to inner function, which in this case is to return a function that takes a variable. Didn't think of that... thank you.
Good solution. The duplication can be removed using closures.
This comment is hidden because it contains spoiler information about the solution
This was the most frustrating kata I've experienced so far on the site. Since it's pretty non-trivial to generate failing boards for row errors, column errors, or region errors, I suspect I won't be the only one who was stuck for a while totally unable to figure out what was causing some test failures on submission. I suggest these be added to the provided tests.
I also think region checking (which I'm not even sure is actually checked in the tests) makes this problem substantially more advanced than it's marked as being.