A maximum heap should probably do the trick.

On 11/28/06, Andre <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I was thinking to do something like this, but is it an efficient way to
> do it?
> Do you know any well know algorithm to do this kind of thing?
>
> Thanks,
>
> Andre
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
 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-beta.google.com/group/algogeeks
-~----------~----~----~----~------~----~------~--~---

Reply via email to