LeetCodeFind N Unique Integers Sum up to ZeroFind N Unique Integers Sum up to ZeroEasyArrayMathSolution export function sumZero(n: number): number[] { const answer = n % 2 === 0 ? [] : [0]; for (let num = 1; num <= Math.floor(n / 2); num++) { answer.push(num, -num); } return answer; }LeetCodeFind N Unique Integers Sum up to Zerohttps://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero