2)https://leetcode.com/problems/minimum-cost-to-split-an-array/description/ This exact question, its a partition DP question, I told him the approach and gave a pseudo code for this.
Last updated Oct 27, 2026