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.
so switch can deal with ranges? good to know
This comment is hidden because it contains spoiler information about the solution
a clever use of the -1 return, it took me a second to catch up
But... why?
I could get it if you skipped some built-in functions but you are usning "in" condition either way
oh my....
it may just be my lack of experience but it feels like this could be the code for eval function itself
it feels monumental(???)
looks extremely well made with all the comments and massive structure, complicated but flexible and open for quick modification in future
I'll take the idea of adding an element to the end, I though about it on my first try but for some reason didn't
how is this O(n) task?
care to tell why?