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.
avoid the default param in this public call as it could result in the function being called with an unintended accumulator value
No built-in functions.
No converting to indexed list up front.
Recursion ends as soon as first match is found.
Interesting approach with a comprehension. But it finds every match when it only needs to find the first match.
nice work!
Sweet
I totally looked this up. It still hurts my brain to visualize how this works.