##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
Recursion from scratch. You'll learn the two parts of every recursive function and trace execution step by step.
The exponential to linear speedup that demonstrates why memoization exists - bridges to DP
Simple string recursion that teaches substring finding with base case identification
Breaking down problems
Digit manipulation through recursion teaches extracting and checking digits one at a time
Shows how to handle exponentiation recursively with tricky edge cases like negative exponents
Forces you to find patterns in recursive structures using binary position thinking
Good example for understanding recursive funtions
Problems like factorial is naturally recursive.
Another Application of Recursion(Recursion in Digits)
Recursion in Mathematical Problems
Perfect for learning power function recursion with bit manipulation