We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f67bfb3 commit a5db5a2Copy full SHA for a5db5a2
my-submissions/m2683 v3.java
@@ -0,0 +1,9 @@
1
+class Solution {
2
+ public boolean doesValidArrayExist(int[] derived) {
3
+ int output = 1;
4
+ for (int i : derived) {
5
+ output ^= i;
6
+ }
7
+ return output == 1;
8
9
+}
0 commit comments