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.
Sure but it also specifies in the description, "a number between 0-9"
Nobody is saying its best practices for all scenarios but lets be honest, if its higher than what you're expecting, returing a default of zero is fine imo.
I'm too young too simple to make two "if" sentences in order to determine absoute value.
If you enter 11 the code return "Zero". I don't think this is a "best practice."
Yep... that sounds about right... much cleaner solution than what I came up with 👏👏
For some reasons this solution requires you to only check if the version inside the given data is valid. No need to check the
version
parameter. The description is a little misleading/confusing.If a board is 9x9. It has 9 3x3 squares, test those.
[][][]
[][][]
[][][]
Every pair of square brackets is 3x3.
Yes, the last two. They are still not corrected.
It's a blessing.