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 itadded
7 years passed, just 91.. Nice kata
Considering how weak the tests are in this regard, IMO it'd be easier to get rid of this specification and use decimal integers only.
These cases should be tested:
No random tests with hexadecimals and decimals in scientific notation.
Math markup could be used to present formulas.
After three years ?!?
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?
Thank you, Alien-San. :]
bump.
Bump.
Is there anybody out there ?!?
Bump.
Original author has left. Any power user?
Haskell translation
Loading more items...