Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
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.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.