You are given an integer array pref of length
Find and return the array arr of length
pref[] = arr[] ^ arr[] ^ ... ^ arr[]
for all indices ^ denotes the bitwise XOR operation.
Note: It can be proven that the resulting array
arris unique.
Constraints:
pref.length
pref[i]
You are given an integer array pref of length
Find and return the array arr of length
pref[] = arr[] ^ arr[] ^ ... ^ arr[]
for all indices ^ denotes the bitwise XOR operation.
Note: It can be proven that the resulting array
arris unique.
Constraints:
pref.length
pref[i]