Problem 377 · Medium

Combination Sum IV

Count the ordered sequences of positive numbers from a list that add up to a target. The visual fills a table of sums where each entry adds the ways to reach smaller totals.

Open the interactive visualisation