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.
hahahahaha
could have used map function which returns array itself
better to use each/map function
better to use each / map function
Hahahaha
Well, the way it's written, it kind of is... :)
Not the easiest code to read at all.
idek ruby so this looks like egyptian hieroglyphics to me
Hahahaha, right
smart til you see it in a codebase you're working in and have to go cry in the bathroom for 2 mins
would be interested to see complexity comparisons with other solutions
😅
Same as mine
This looks cool, but Array#length adds overhead for longer arrays
Can we store it somewhere and use that variable ?
I am not sure how much impact it does tho
Ohh, man
Very bulky logic
smart
Loading more items...