Skip to content

Commit 7c06a89

Browse files
committed
Q2433 added.
1 parent 48ae753 commit 7c06a89

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
class Solution {
2+
public int[] findArray(int[] pref) {
3+
for(int i=pref.length-1; i>0 ;i--){
4+
pref[i] = pref[i-1]^pref[i];
5+
}
6+
return pref;
7+
}
8+
}

0 commit comments

Comments
 (0)