Leetcode 630. Course Schedule III
Given courses with durations and deadlines, schedule non-overlapping courses starting at day 1 to maximize the number you can finish by their deadlines; the core challenge is choosing which courses to keep when cumulative time would miss a deadline, typically handled by sorting by deadline and greedily dropping the longest course (max-heap) when necessary.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.