Hi,
    3,1  3,2  3,4 3,5 2
does not satisfy the problem. See no element occurs greater than N/2 times.

 
On 6/20/06, Praveen <[EMAIL PROTECTED]> wrote:

Hi vinodh,

what will happen if i have an array like this

3,1  3,2  3,4 3,5 2

does it say 2 is the majority element

Regards
Praveen





--
===================================
want to know more about me
http"//ww.livejournal.com/users/arunachalam
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to