You are given an array . In this array there are numbers repeated some are repeated for even number of times and some of them are repeated for odd number of times. In this you have to find out the number which is repeated odd number of times.
Example :
Input :
arr[] = [1,1,2,2,1,2,2]
Output :
1