Practice45 min

Practice: Subsequences & Partitions

Sign-flip products, dictionary segmentation, LIS, and subset-sum to half.

Four medium DPs with distinctive states: track max and min products together, segment against a dictionary, the classic O(n squared) LIS, and reduce equal partitioning to subset-sum on half the total.

Solving all problems completes this lesson automatically.