No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md
pom.xml

README.md

Top N Elements

Sample code for my blog article.

Contains a Java based implementation of an efficient algorithm for selecting the first N elements of a very large collection, according to some user-defined criterion. It is based on the Heap data-structure (the PriorityQueue class in JDK).