Just to clarify, when you say repeating 1 time means 2 occurences. Similarly, repeating 2 times means 3, etc. ?
On Mon, Jul 5, 2010 at 7:18 PM, jalaj jaiswal <jalaj.jaiswa...@gmail.com>wrote: > Given an array of integers where some numbers repeat 1 time, some numbers > repeat 2 times and only one number repeats 3 times, how do you find the > number that repeat 3 times. > > can xor do something here ?? > > -- > With Regards, > Jalaj Jaiswal > +919026283397 > B.TECH IT > IIIT ALLAHABAD > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algoge...@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.