Introduction - If you have any usage issues, please Google them yourself
Building a capacity of large root heap k sequentially read int data elements if a large root heap is full, then compare whether the read element is less than the maximum stack top, is the largest element first deleted, and then pressed into a new element. If large root heap element is not full, direct read
Pressed into large root heap. In the n elements in order to determine the comparison process after completion, to obtain n data smallest k data. Which in turn is popped the top of the heap, is about the smallest k elements in descending output.