I can use bucket sort.But sorting is strictly prohibited. The question gives
a hint which says use your data structure theory to figure this one out.

On Sat, Dec 25, 2010 at 9:16 PM, juver++ <[email protected]> wrote:

> You may use bucket sort if extra space is enough.
> Second approach - find (log n)-th statistic and then (log n + sqrt n).
> After doing so you may output all students that have marks below
> corresponding bounds.
> There is O(n) algorithm for finding such values.
>
> --
> 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]<algogeeks%[email protected]>
> .
> 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 [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.

Reply via email to