DSA Day 96/250: Task Scheduler (LeetCode 621)

Schedule tasks efficiently with cooling periods using a greedy counting approach.