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.
Resolved.
I just solved the kata in JS with my solution from other languages and I have no good idea what this issue is about. Everything seems to work as expected? Broken formatting in the original post is not helpful either.
I'm not really sure I understand your issue, but it seems like a code issue to me. You can represent
4
as2 + 1 + 1
, just like you can represent16
as8 + 4 + 4
, and256
as128 + 64 + 64
. I guess your assumption is wrong..?