okay, this is not exactly a but I hope you hate this problem as much as I did...

The problem is not just getting the right solution, but getting it in under the running timeout of 12000 ms. Good luck.

codewars.com/kata/54d81488b981

Follow

@Absinthe Im similarly confused by the wording.. in the following example whats the answer:

[1,2,5,8,9,10,11,12,13,6] sum: 7

I guess 1,6 it only counts the left most?

@freemo It was a weird challenge.

Here is the odd part:

[5,3,8,7,8,9,5], 10 would be [3,7]

Because it finished first. Even though [5,5] starts first.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.