Coin Change II — 2-D DP

Count the distinct ways unlimited coins of a few denominations can add up exactly to a given amount, ignoring order.

2-D DP · Medium

More in 2-D DP

All algorithm problems