Click Next to start the algorithm visualization
Input Array
k = 2
Min-Heap (k largest)