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
Hahahaha, right
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
I think, one Sample test case is wrong
[1.0, 2.0, 3.0001] - Expected: false, instead got: true
This array contains all float objects, still It expects false