HackerEarth XOR subsequences problem solution - TheCScience