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.
Purposeful and clean. Nice one!
This is eye opening for me. Really struggled to figure out the method for converting value to [value] and now it seems obvious. I tried a similar approach, but ended up doing too much by not understanding some fundamentals. I like your solution best!
If there's a way, kindly point me to it. Otherwise, I'd give my two front teeth for an option to turn off (Cmd + s) to Attempt. My save-twitch is causing me to miss out on first try submissions, and it's breaking my heart.
oh yeah no, just keep it a dictionary of [String : Int] and cast your characters into strings over and over... doh! LOL 3am coding strikes again
optimized AF
So bitwise AND determines a power of two... I wish I had seen that before I put my ignorance on display LOL
Really interesting kata. Definitely made me think. Thanks!
And yet, you could have gotten to a single line without having to resort to poor style.
So clean!
whoa, this is art
I recognize now that using an array was a poor memory decision. Two ideas collided and the array was a remnant of the reject. Do While would have solved my final if condition as well... Fail, learn, and move on!
I just submitted a PAGE and LOL when I saw the best solution. Why am I this way