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.
There should also be fixed and random test cases of bracket mis-swapped, like
][
and[]1, 2, 3][
should have fixed tests like
[[1, 2] [3, 4]] ---> null
, but the reference solution would not handle itConsidering how weak the tests are in this regard, IMO it'd be easier to get rid of this specification and use decimal integers only.
No random tests with hexadecimals and decimals in scientific notation.
Math markup could be used to present formulas.
Would it make sense to include invalid test cases such as "[4 2]" or "[abc]"? Or are such cases ruled out by the fact that the content of the array is supposed to be limited to number literals?
r
?NaN
is expected if numbers of only one sign appears in the input, but it's not specified at all2.371925354
, but2.371924299
Looks like you're trying to make a polynomial root finding kata without understanding much about polynomials at all. Perhaps you should try again in another kata ;-)
No test cases.
Message: "True should equal False" does not provide any useful feedback.