
Data Structures and Algorithms
Ladybug Podcast
00:00
How to Use Recursion in Programming Languages
Recursion is when a function calls itself within itself. Usually this is so that you can break a problem into smaller problems and then solve that smaller problem with the same sort of function. My caveat with recursion is that it's always going to be less efficient than using a while loop. If you've never done a Google search for recursion, I highly recommend it. Let us know if you do that and tell us your thoughts.
Transcript
Play full episode