Function to return the minimum number of elements whose sign must be flipped to get the positive sum of array elements as close to 0 as possible
def solve ( A , n ) : NEW_LINE INDENT dp = [ [ 0 for i in range ( 2000 ) ] for i in range ( 2000 ) ] NEW_LINE DEDENT