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.
Could someone provide me with a resource explaining how to solve this? I looked at the solutions but I don't understand how they work ^^.
This comment is hidden because it contains spoiler information about the solution
How is nobody else mentioning this problem? This just drove me crazy for 10 minutes
Alright
Are
p
andq
similar to each other?I thought by similar you mean that
p
only looks for otherp
andq
only looks for otherq
I'm not mad btw, just asking. What is the point of submitting a minified solution?
This can be normal.
Attempt
uses more test cases thanTest
. You probably need to fix your solutionHow is this only 5 kyu? This seems very long (but fun!) unless I'm missing something.
I think my solution sometimes fails because the fractions are not simplified. But why does that even make a difference? Shouldn't it also work with unsimplified fractions?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
To anyone who doesn't understand the assignment:
You have an array e.g [-2, 1, -3, 4, -1, 2, 1, -5, 4]
You now have to find out which part of this array gives the biggest sum.
In this case, it would be [4, -1, 2, 1] because 4 - 1 + 2 + 1 = 6.
No other uninterrupted sequence in that array gives you a bigger sum.
This comment is hidden because it contains spoiler information about the solution
Really cool kata, thanks!