Is something wrong with the evaluation program for this problem

  • 0

    I think I didn't understand the problem completely. For the given example case shouldn't the sum between [-2,2] be 2 rather than 3 which is given by the solution program. Also, what about the sum between [1,1] I think it should be 5 but the solution program gives 0.
    Is something wrong with my understanding of the problem?


Log in to reply

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