Concept Flow - Fibonacci Using Recursion
Call fibonacci(n)
Is n <= 1?
Yes→Return n
No
Call fibonacci(n-1)
Call fibonacci(n-2)
Add results of fibonacci(n-1) + fibonacci(n-2)
Return sum
End call
The function calls itself with smaller values until it reaches the base case, then returns sums back up the call stack.
