Task Scheduler — Neetcode 150

Link: https://leetcode.com/problems/task-scheduler/