use minHeap algorithm to find top K numbers in array