Leetcode 3630. Partition Array for Maximum XOR and AND | Hello Interview