Recursion allows us to implement solutions in an elegant way and acts as a baseline for implementing more advanced algorithms.
In this video we cover:
Understand why we use recursion - 0:35
When to use recursion - 1:05
A visual example of recursion - 1:35
Anatomy of recursion - 2:10
Factorial Conceptual Overview - 3:00
Factorial Javascript Implementation - 8:03
Complexity Analysis - 9:30
Recap - 10:16
Practice Recursion with the First Factorial Challenge: http://bit.ly/challenge-first-factorial
Check out our video series on Data Structures & Algorithm fundamentals where we cover Big O, recursion & more: http://bit.ly/algorithm-fundamentals-...
To access hundreds of real coding challenges on algorithms, React, SQL, and more along with nearly one million solutions, visit https://coderbyte.com/.
Stay up to date with interview prep tips and hiring trends at / coderbyte