hi this is prob 9-3.7 of CLRS , anybody having a clue???

Describe an O(n)-time algorithm that, given a set S of n distinct
numbers and a positive
integer k ≤ n, determines the k numbers in S that are closest to the
median of S

thanks in advance..
--~--~---------~--~----~------------~-------~--~----~
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