Wrong answer for one of the tests


  • 0
    K

    Isnt the answer wrong for
    [0,-1,4,-4,5,-2,-1,-1,-2,-3,0,-3,0,1,-1,-4,4,6,2,3,0,-5,2,1,-4,-2,-1,3,-4,-6,0,2,2,-1,-5,1,1,5,-6,2,1,-3,-6,-6,-3,4,0,-2,0,2]
    the answer is 388800.
    2,2,-1,-5,1,1,5,-6,2,1,-3,-6,-6,-3,4, this substring gives -388800.


Log in to reply
 

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