One easier thing would be to use a map to solve this.
On Tue, Aug 16, 2011 at 1:41 PM, MAC <[email protected]> wrote: > > Given an array of integers. Each number in the array repeats ODD number of > times, but only 1 number repeated for EVEN number of times. Find that > number. > > > -- > thanks > --mac > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- Thanks and Regards, Raghavan KL -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
