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.
Your code fails because you are using the wrong string for
separator
anddelimitter
I had the same error and solved it deleting the "msg" part. First time I have to modify a test in order to submit a solution.
For Kotlin:
If you get that error, something with "msg", just do as I did: delete the following line in the testing area:
assertArrayEquals(msg, intArrayOf(0), Kata.digitize(0))
After this, my solution passed the test.
This comment is hidden because it contains spoiler information about the solution
When I executed that line in IntelliJ, it worked as intended... hmm
You are mirroring along both axes I think
This comment is hidden because it contains spoiler information about the solution
E x a c t l y .
It really should be mentioned that the daily loss of content is relative to the daily (decreased) content, not to the starting content.
I liked this very much. I am just a noob, but this exercise made me use some concepts I didnt use before very much, like Pair<> and combine builtin functions with each other.