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.
It's not broken, you just aren't accounting for padding.
The random tests are encoding it, then decoding. However due to the way it encodes, strings who's length is not divisible by 4 will have padding added in encoding.
This comment is hidden because it contains spoiler information about the solution
Why not use something like abs()?
That's super efficient, mnd explaining why though?