Job Sequencing With Deadlines
Medium
Greedy Scheduling
Each job takes one time unit, has a profit and a deadline (it must finish by that unit). Print the number of jobs scheduled and the maximum total profit.
Constraints
1 <= n <= 10^5
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.