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.
Oops ok I got it. I was only adding numbers that were next to each other. Turns out its the largest sum of ANY pair.
Is it just me, or are the random test cases broken? I am literally going through the input manually with a calculator and I cant find a single pair of numbers that matches the expected output.
i felt so dumb but i realize that sensei is just bullying us
i will not forget the dummiest keyword i have been confused on is
pair
:Ddear reader if you still stack in this problem come and join me by
^
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/176.
Please join the discussion to help us identify duplicate kata and retire them.
I think haskell random tests are a bit flaky, I constantly get weird results like
[1,-1] expected 1 bu got 0
,[0] expected -1 bu got 0
et cetera...This comment is hidden because it contains spoiler information about the solution
approved
Haskell translation
Approved
fixed the random tests
C translation (author gone)
approved
COBOL translation (author inactive).
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...