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.
I was thinking of this while doing it but I could not remember. Trying to do it all from memory.
I can't do this anymore
The problem statement mentions two kinds of values, so if it's not one, then it's the other. There's no second thing you can test.
The spec doesn't say that there should be any such check, it even says that there won't be any NaN (why would there be?)
This solution has no NaN checks.
Insightful!
why did i forget about this, lmao
Fails
x²-1
.The question says 'a function that takes a list of non-negative integers'.
so there wouldn't be any array with negative numbers.
plus that I don't understand why u said in your exmaple it should return only 2 and 3. what about 3.5?
What the...
Great bro!
Thanks for explaining it I was wondering
Sad that I forgot about slicing! :")
How it is beneficial to add an extra function inside when a simple call back will do ?
YES!
Loading more items...