Simple Adj XOR | C++
\nvector<int> findArray(vector<int>& pref) {\n        vector<int> ans = pref;\n        for(int i = 1; i < pref.size();i++){\n            ans[i]=pref[i] ^ pref[i
```\nvector<int> findArray(vector<int>& pref) {\n        vector<int> ans = pref;\n        for(int i = 1; i < pref.size();i++){\n            ans[i]=pref[i] ^ pref[i-1];\n        }\n        return ans;\n    }\n```
['C']