Solution Review: Create an Amount

This lesson will discuss the two possible solutions to the challenge in the previous lesson: recursive and dynamic.

Solution: recursive #

Let’s start by discussing the recursive solution to this problem.

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.