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
is it written in python? hope someday i will understand it...
good luck, man!
wow, longest poop i've ever seen, well done! (sorry)
Random test cases in python 3.8 are totally broken... or i don't understand what they check.
With input ([20, 17, 6, 16, 10, 12, 3, 6, 8], [3, 5, 5, 1, 1, 2, 1, 2, 3], 18) it returns 6. (should be 92, right?)
With input ([3, 7, 11, 5, 7, 1, 8, 18, 8, 9, 18], [2, 2, 1, 2, 3, 4, 1, 1, 2, 4, 4], 138) and most of others it returns 0. Why?
nice docstring bro thumbs up