• + 4 comments

    I removed all the values from array which are <=0 and found the sum of the array and got the wrong value in some test cases. Isn't it the same thing?