dart solution fast and easy
\nclass Solution {\n  List findArray(List pref) {\nif(pref.length<2)\n            return pref;\n        for(int i = pref.length-1;i>=1;i--)\n            pref[i]
\nclass Solution {\n  List<int> findArray(List<int> pref) {\nif(pref.length<2)\n            return pref;\n        for(int i = pref.length-1;i>=1;i--)\n            pref[i] ^= pref[i-1]; \n        return pref;\n  }\n}
['Dart']