Skip to content

Commit

Permalink
Merge pull request #58 from dhruvabhat24/dhruvabhat24-patch-1
Browse files Browse the repository at this point in the history
Create Day 10: Party of Couples.cpp
  • Loading branch information
dhruvabhat24 authored Apr 9, 2024
2 parents f2a2c37 + 1d571f9 commit e7023a9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions April/Day 10: Party of Couples.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
class Solution{
public:
int findSingle(int n, int arr[]){
int res = 0;
for(int i=0; i<n; i++)
res = res ^ arr[i];
return res;
}
};

0 comments on commit e7023a9

Please sign in to comment.