Coin Change
Find the fewest coins that add up to an amount. Build the answer for every smaller amount first, because the best way to make a is one coin plus the best way to make what is left.
Spotted a mistake in this lesson?Report an issue →
Find the fewest coins that add up to an amount. Build the answer for every smaller amount first, because the best way to make a is one coin plus the best way to make what is left.