Solution Review: Create an Amount
This lesson will discuss the two possible solutions to the challenge in the previous lesson: recursive and dynamic.
We'll cover the following...
We'll cover the following...
Solution: recursive #
Let’s start by discussing the recursive solution to this problem.
Explanation #
We start with a big problem. Given an amount and an array of coins, we have to find the number of ways to return that amount using the coins from the array.
In a recursive solution, we split the ...