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.
a list of non-negative integers and strings
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!
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?
Great bro!
How it is beneficial to add an extra function inside when a simple call back will do ?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
it clear and best practice too
This comment is hidden because it contains spoiler information about the solution
I wonder why this code becomes best practices and clever!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...