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.
This comment is hidden because it contains spoiler information about the solution
Not sure if I'm missing some logic in the instructions, but when doing the random testing in Ruby I don't think the output should be expected as true here as the array contains nil right?
" Testing for [71, 54, 5, 538, 8, nil, 2, 233, 1, 154, 4, 49.0]
It should work for random inputs too - Expected: true, instead got: false "
This comment is hidden because it contains spoiler information about the solution
Prolog translation kumited, please review.
No random tests! (Javascript)
The test cases are missing truthy non-array inputs. Many solutions will fail for e.g.
true
.Hi guys, I'm looking for some tips regarding the 1.23e-7 input.
I tried to convert the exponential number with .toFixed() without success and I can't find a way to check if the number is exponential or not ...
Thanks for your time.
is 1.23e-7 an integer?