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.
i want pizza
you have to remove all spaces at the end of the lines.
After your remove #b as comment
your line looks like a + space
you need to remove this extra space, so a line never finishes with a space
The answer to that array is 154.
100 - 99 + 50 + 50 + 50 + + 2 + 1 = 154
not a kata issue
"a #b\nc\nd $e f g", ["#", "$"]), "a\nc\nd" must return 'apples, pears \ngrapes\nbananas ' not 'apples, pears\ngrapes\nbananas'
It must be with space, because there is a space between a and # in (a #b\nc)
Will this work for maxSequence([100, -99, 50, 50, 50, 2, 1, -5, 4]) ? in return 154, not 153