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.
Please help me understand the replacer function used in the decodeBits function. This syntax is really tripping my mind. I've never seen anything like this so I would like to understand it. For example, it looks to me to be a 3D array:
s => [...][...][...]
.It looks like the:
+
symbol is doing there.Can you tie all this together for me, or point me in the direction of some reading material so I can wrap my head around this? I don't even know what to search for to google it!
This is my favorite solution I've seen thus far. Very nice and understandable implementation. Clever!
Nice usage of a tail recursive function. Beautiful solution.
Very nice solution!