subrahmanyam kambala wrote: > HI..guys..... > there is an element repeated more than N/2 times > > taking consecutive 3 elements and checking whether any two elements are > equal or not....
But what if more than one element is repeated several times. How will your method work? A A A B B B B --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/algogeeks -~----------~----~----~----~------~----~------~--~---