Praveen wrote:
> Hi Arun ,
>
>             it is not a median. it is the element which has occured
> more than N/2 time in an array.
>
>           median tellls half of the element are greter then median
> value and half of the element has lesser value than median.

If there were a majority, it would also be the median element.


--~--~---------~--~----~------------~-------~--~----~
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