The judgement output is wrong

  • 0

    If given array[-2,0,1,3,50,75,102], lower=0, upper=99, I think the output is ["2","4->49","51->74","76->99"]. However, the judgement output is ["-1","2","4->49","51->74","76->101"].

  • 0

    Your array elements are not just from [0,99] => invalid input.

Log in to reply

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