Description changed, thanks ;-)
I had the same problem understanding it, I would add an example, something like "note that [-1000, 1, 2, 3, 4] should output 10 and not 15, because the sequences [1, 2, 3] and [2, 3, 4] belong to the longer sequence [1, 2, 3, 4]", btw nice kata
The numbers of consecutive identical step should be considered as a whole Should I add this to the description? Or any other words to explain it?
Loading collection data...
Description changed, thanks ;-)
I had the same problem understanding it, I would add an example, something like "note that [-1000, 1, 2, 3, 4] should output 10 and not 15, because the sequences [1, 2, 3] and [2, 3, 4] belong to the longer sequence [1, 2, 3, 4]", btw nice kata
The numbers of consecutive identical step should be considered as a whole
Should I add this to the description? Or any other words to explain it?