2433. Find The Original Array of Prefix Xor
\n# Code\n\nclass Solution:\n    def findArray(self, pref: List[int]) -> List[int]:\n        x = []\n        res = 0\n        for i in range(0,len(pref)):\n    
\n# Code\n```\nclass Solution:\n    def findArray(self, pref: List[int]) -> List[int]:\n        x = []\n        res = 0\n        for i in range(0,len(pref)):\n            if(i==0):\n                x.append(pref[i])\n            else:\n                x.append(pref[i]^pref[i-1])\n        return x\n\n        \n```
['Python3']