Reduce Array Size to Half
Find minimum removals to reduce array size by half using greedy heap approach
Reorganize String
Reorganize string so no two adjacent characters are the same
Sort Characters by Frequency
Sort characters in string by frequency using heap or bucket sort
Task Scheduler
Schedule tasks with cooling period using greedy approach with heap
Top K Frequent Elements
Find the k most frequent elements in an array