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.
Haskell translation
C++ Translation
This comment is hidden because it contains spoiler information about the solution
Description should be language-agnostic
Any performance constraints? Permutations time out.
Great kata, thanks!
I struggled for a second with the edge case when my script found a solution that used the first number in array as a negative, resulting in a false positive answer.
It does say "between" numbers in the description, but I think it's best if you emphasize it a little more
suggestions:
At least for me that was not obvious
The description doesn't specify that
0
should be considered as a positive number.