Photo by Kevin Ku on Unsplash

The basics of recursion is a function that calls itself until it doesn’t. Sounds simple and easy but it can get quite tricky. Recursion is made for solving problems that can be broken down into smaller, repetitive problems. …

--

--