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.
Good point. It doesn't. It shouldn't pass the tests, but the tests are too lenient.
This comment is hidden because it contains spoiler information about the solution
Test cases your solution fails correctly expect
false
. Both test casees you presented have invalid 3x3 sub-grids.Please see this paragraph and make sure you are readign logs correctly: https://docs.codewars.com/training/troubleshooting#print-input
If you are 100% sure your solution is correct, post your code so we could diagnose your problem.
“Way too much code.” Is this a joke?
Delete the first function and the code won't compile. So much for “completely pointless.”
Chars have a value. E.g. '3' is 51 and '0' is 48. Subtracting is a way to convert chars to int.
This comment is hidden because it contains spoiler information about the solution
it's always all at once.