r/codinginterview • u/bparanj • May 20 '20
Print digits in reverse
Prerequisites : Head and tail recursion, Add digits
Size of the problem
Base case
Problem decomposition
Recursion diagram: Reduction and combination
Recursive solution
4
Upvotes
1
u/bparanj May 20 '20
This is a basic concept you need to know before you can learn advanced concepts like backtracking.