Leetcode solving: 1720. Decode XORed Array