How stupid I am XDDD
😄
a list of non-negative integers and strings
hello my name is Aabdulhay and you
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.
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!
Loading collection data...
How stupid I am XDDD
😄
a list of non-negative integers and strings
hello my name is Aabdulhay and you
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!
Loading more items...