LeetCodeXOR Operation in an ArrayXOR Operation in an ArrayEasyMathBit ManipulationSolution export function xorOperation(n: number, start: number): number { const nums = Array.from({ length: n }, (_, i) => start + 2 * i); return nums.reduce((prev, num) => prev ^ num, 0); }LeetCodeXOR Operation in an Arrayhttps://leetcode.com/problems/xor-operation-in-an-array