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.
I think my solution is worst of all lol
When solving this problem, it was pretty much engraved in my mind that I had to start from the 2^0 digit and work my way up, so the first thing I did was to invert the array. I'm pleasantly surprised and impressed to find out that it's very well possible (and elegant) to start at the other end, without even knowing which digit it is, at that!