Leetcode 3599. Partition Array to Minimize XOR | Hello Interview