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.
YES. I sat here for too long missing the part where you are just counting the 1's in the binary code
like 0111 has 3 1's.
1001 has 2 1's.
1111 has 4 1's.
This comment is hidden because it contains spoiler information about the solution
I think that the final test use antoher value that is not a string, if you run with the sample test you can see that in fact, "*" is a string