Rosetta Problems

Decode XORed Permutation

https://leetcode.com/problems/decode-xored-permutation