Loading Question...
You are given an integer array arr of size n. You may perform the following operation any number of times (including zero):
i and j.arr[i] and arr[j] by -1 (i.e., flip their signs).
Your task is to determine the maximum possible sum of the array after performing such operations. Return the maximum achievable sum.