Concepts2
⚙️AlgorithmAdvanced
Divide and Conquer DP Optimization
Divide and Conquer DP optimization speeds up DP transitions of the form dp[i][j] = min over k of dp[i-1][k] + C(k, j) when the optimal k is monotone in j.
#divide and conquer dp#monge array#quadrangle inequality+10
⚙️AlgorithmIntermediate
Interval DP
Interval DP solves problems where the optimal answer for a segment [i, j] depends on answers of its subsegments.
#interval dp#matrix chain multiplication#burst balloons+12