This visualization shows how to find the top k frequent elements using a min-heap. First, we count how many times each number appears. Then, we build a min-heap that keeps only the k elements with the highest frequencies. When adding a new element, if the heap is smaller than k, we add it directly. If the heap is full and the new element's frequency is higher than the smallest frequency in the heap, we remove the smallest and add the new one. Finally, we extract the elements from the heap to get the top k frequent numbers. The execution table tracks each step, showing frequency counts, heap size, and heap content. Key moments explain why we use a min-heap and why we remove the smallest frequency element when the heap is full. The quiz tests understanding of heap operations and frequency counting.