Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
add top (?) that takes max #9
Not sure if this is a good name for it. We do a lot of fetching an array from the top of the heap (priority queue).
If you think it's a good idea, I'll make a proper pull request with a UT.