Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on LINQ Ruined My Favorite Interview Question. Parent comment
Creating a heap is O(n) if I remember correctly, so that may well be the most efficient solution.
There are no comments on this comment yet.
Creating a heap is O(n) if I remember correctly, so that may well be the most efficient solution.