Hương Trang
New member
The following sequence is a fibonacci sequence:
0, 1, 1, 2, 3, 5, 8, 13, 21,…..
Which technique can be used to get the nth fibonacci term?
A. Recursion
B. Dynamic programming
C. A single for loop
D. Recursion, Dynamic Programming, For loops
0, 1, 1, 2, 3, 5, 8, 13, 21,…..
Which technique can be used to get the nth fibonacci term?
A. Recursion
B. Dynamic programming
C. A single for loop
D. Recursion, Dynamic Programming, For loops