DSC-Chitkara / Algo-DS

Repository for new Contributors to come and collaborate for hacktoberfest!
16 stars 111 forks source link

Added a cpp program which finds the nth fibonacci number using dynami… #174

Open Atik4 opened 5 years ago

Atik4 commented 5 years ago

…c programming

What Changes does this PR introduce?

I have added a program which finds the nth fibonacci number using dyanmic programming and also included the space optimized version of the same. The file has been added in the root/C++/DynamicProgramming folder.

What issue have you fixed?

If relevant, have you updated the README file?

Have you added your name to CONTRIBUTORS.md?

No, I haven't.

Have you added tests for your code?

No, i haven't added test cases for my code, but my code can be easily tested by changing the value of the parameter sent to the fib function.

Any other information?