Fibonacci by recursion

when calculating 50th fibonacci with recursion no output is coming… working good for small n values

@shampblocks,
Please share a cb.lk/ide link of your code.

@shampblocks,
The complexity of your code is O(2^n), so for computing 50th fibonacci number your code will appx. run 2^50 operations, which would take about 130 days to complete.
Read about fibonacci optimisations here.