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.
No.
No. A positive number is a number greater than 0.
If it says there are 5 partitions and you don't see
1 + 3
or1 + 2 + 1
the answer is obviously yes.I did, maybe I shouldn't be on codewars on Saturday at 12
If someone is willing to answer:
Q3. Are 2 + 1 and 1 + 2 considered 1 possiblity ?
Read the description and the examples.
This comment is hidden because it contains spoiler information about the solution
Yeah, I just managed to solve it in 103 ms, but got ~300 with the naive approach. Read over the question again - maybe there's a piece of information you're not using? ;)
About to forfeit this, passing the tests in ~300ms, when maximum allowed is 150ms
Anyone was able to submit with JavaScript recently ?