The answer from this code is coming out to be true, but I cannot comprehend the workflow of the statements used in this program. I am not able to draw the workflow or the memory diagram for the same. Can you pls share the workflow and tabular program for this particular program attached above.
Fibonacci Problem
Hi @abhibansal252
just try to dry run the code on paper and draw the recursive tree… u will get better insight…
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.