CSCI 3110
Algorithms and Data Structures
Syllabus
Calendar
Misc.
Dynamic Programming Algorithms Exercises
< Previous
Next >
Discuss with your neighbor(s) the main technique employed by dynamic programming algorithms.
Name some problems where a dynamic programming algorithm is appropriate.
Write a dynamic programming implementation for calculating a Fibonacci number: F
n
= F
n - 1
+ F
n - 2
and F
1
= 1 and F
2
= 1.
Last Modified: