topN using a heap

Ziad Hatahet via Digitalmars-d digitalmars-d at puremagic.com
Sat Jan 16 13:58:27 PST 2016


On Sat, Jan 16, 2016 at 7:25 AM, Andrei Alexandrescu via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

>
> 1. Organize the first 11 elements into a max heap
>
>
Why not the first 10?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20160116/78ae49ba/attachment.html>


More information about the Digitalmars-d mailing list