JB TAK FODEGA NHI .... TB TK CHODEGA NHI .... (MAANG)
L5 Multiple Recursion Calls
Mulitple Recursion calls that means more than one recursion call at a single time that know as multiple Recursion call at a time.
This Concept is Vaey Important fro the
Example: Phebonachi Number We Called the 2 Function at the Same Time
fun(n-1)+fun(n-2)
Recursion Tree
Notes
Note: Zoom for Better Understanding
Code Zone!
Recursion Python Code
Recursion Java Code
Recursion C++ Code
Sb Mai He Kru ...
Khud Bhi Kr le Khuch ..... Nalayk
Time Complexity:O(2 ^ N) Exponential Time Becouse we used the Recursion Concepts
Space Complexity:O(N) O(N) for the Recursive Stack Space.
Interview Docs File "All the Best" Team @DSAwithPrinceSingh