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.
In the description please clarify the requirements regarding upper/lower case
The examples suggest that duplicate values are omitted from the returned object, but some of the tests are indicating otherwise:
Needs more tests, and random tests
Should have
Restricted
tagOk, I get that. Thanks.
It's not meant to be difficult. 6kyu or 7kyu. Just a bit of maths
Fixed
Fixed
Fixed
I think you mean
test
should throw exceptions in those situations?The random tests include edge cases where
cubes = 0
andcubes = 1
but with incorrect result.According to the tests for example
painted_faces(0, 2) == 48
The tests use the error message
"incorrect length in binary number"
which is different from what is specified in the description.Approved.
This comment is hidden because it contains spoiler information about the solution
Loading more items...