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
it works because you return early if you find the result, otherwise the methods last line is return nil
Why returning -1 if the number is negative? That's not stated in the instructions.
The idea is not novel at all.
btw, for a so short description, it would be good that it'd be in good english. First snetence is lacking some words... ;o
Hi,
Well... Sorry, but there's nothing new here. :/ Moreover, the task is especially artificial. First things that come to mind:
3 2/8
->3 2/4
It's bovious that it's not part of the task, yes. Just a note...We already have a lot of simple katas that involve exactly what one needs to do here. Imo, that isn't worth of making a new one.
Added random tests
Thank you for information, now example tests are present
No random and example tests.
thanks ;)
Please, unpublish it.
Again ?!?
This very much feels like not an original idea.
( JS )
Possibly a platform issue, but:
so it's not currently solvable.
Also, not having Example Tests is not a good thing.