fharookshaik / fibonacci-series

This repository is to write program the famous Fibonacci series in as many different programming languages as we can.
MIT License
20 stars 101 forks source link

solved fibnocii in cpp using 3 dp optimized method #105

Open krish68201 opened 1 year ago

krish68201 commented 1 year ago

I have solved the question using 3 dp optimized soln

  1. Top Down approach TC O(n)
  2. Bottom Up approach TC O(n)
  3. Space optimzation TC O(1)