As of writing this (09/01/2017), I think one of the test cases has an issue.
It says the result to this is 3. How is that possible when asking for a contiguous sub-array? I believe the answer should be 0 here? Contiguous means a start index, end index, and everything in between if I'm not mistaken. The test case answer could be a solution to sub-sequence, but not otherwise I think.