Frequency counting, Top-K problems, and competitive programming practice
Haven't done Part 1? Start with heap fundamentals and heapq
Find the k most frequent elements using a min-heap of size k.
CCC J3: Find the 3rd highest score and count how many participants achieved it.
Implement bubble up, bubble down, and heapify — no heapq allowed!