This theory is part of Premium
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricingChoose non-overlapping jobs so the total pay is as large as possible.
What this asks
Choose non-overlapping jobs so the total pay is as large as possible.
Sort by end time and weigh take against skip, finding the previous compatible job with binary search.
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricing