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.
…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?