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.
oh? so in the case of 0x+b, the kata wouldn't require us to just raise b to the power of n
but regex never forgot about you
Nice refactoring, @raffimolero!
Although I personally think that using "external" mutable state within a map() call is probably not the best of ideas. Maybe you could use scan() instead?
Please use a spoiler flag, comments are visible to everyone by default (I've just put the flag on for you).
This comment is hidden because it contains spoiler information about the solution
thanks: https://www.codewars.com/kumite/62a3b03366ce880017331378?sel=62a3b0565d0a22003e99c4e4
Thanks for the tips! (Sorry, I just saw this when I was responding to ruzito. Must have missed the notification.)