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 pricingCombine small intervals at a cost per merge and pay as little as possible.
What this asks
Combine small intervals at a cost per merge and pay as little as possible.
Interval DP: try every split and add the combine cost of the two pieces.
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