Report Wrong testcase


  • 0
    J

    Hi all,

    I have questions about a testcase:
    [-2,-1,2,1] k=1
    The expected answer is 2
    Shouldn't it be 3? Say, -2+2+1=1

    Anyone help me? Thanks


Log in to reply
 

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