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.
identical except for the leading '0's handling.
disappointing
I agree, the description is really problematic... after too much time I learned that:
I hope this help!
Your solution indeed contains a bug. To identify it, you need to run two test cases locally, in a way that your implementation of
add
is invoked twice. For example, you could tryand observe how every invocation except the first one returns invalid result.
You can post your code (or link to it) here (remember about markup formatting and spoiler flag) and someone will hopefully take a look and share some advice.