Decode XORed Permutation | Leetcode #1734