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.
Go hang a salami, I'm a lasagna hog!
expected 'G' to equal ','
Yes, It is very idiot kata
Go hang a salami, I'm a lasagna hog!
expected 'G' to equal ','
Why?????
two loops is bad
If some sub sequences have the same sum value, sort them according to their original order.
I do not understand what is meant, I have all subarrays equal to 285 and therefore I did not change their sequence, but I have an error. Because they are in the wrong order. tell me about this exception
This comment is hidden because it contains spoiler information about the solution
using a very fast code, with larger numbers I get not always the best option, but very approximate. Since the accuracy of the answer is important here, I decided to go through all the options, but with large numbers it takes a long time, as I expected. While I have an idea in my head to try the Algorithm with the division of the task into smaller tasks
This comment is hidden because it contains spoiler information about the solution