Issue with A Test Case


  • 0
    F

    As of writing this (09/01/2017), I think one of the test cases has an issue.

    11
    [1,2,3,4,5]

    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.


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.