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.
This comment is hidden because it contains spoiler information about the solution
WTF... This kata allow me to submit a broken solution...
Damn! I tried that once with similar approach with similar structure, but for some unknown reason the test threw me a Time Out Error... As a result, I had to use the Dictionary appraoch.
Is it really a good idea? It looks like an yoyo code to me which it convert the number to string in binary representation, and then convert it back to number by counting the number of "1"s.
Oops, found typo... I mean remainder not reminder.