Question: What is the time complexity of the dynamic programming solution for the Fibonacci sequence?
Options:
Correct Answer: O(n)
Solution:
The time complexity of the dynamic programming solution for the Fibonacci sequence is O(n) because it computes each Fibonacci number only once and stores the results.