Xclusive or method to find a number whether it occurs odd number of times
Answers
Answered by
2
Answer:
Step-by-step explanation:
Input : arr = {1, 2, 3, 2, 3, 1, 3}
Output : 3
Input : arr = {5, 7, 2, 7, 5, 2, 5}
Output : 5
Hope it helps you...
Answered by
1
input = (1, 2,3,3,2,1,3)
output = 3
input = (5, 7,2,7,5,2,5)
output = 5
Similar questions