Return the `8`th Fibonacci number (0-indexed: F(0)=0, F(1)=1). Variant **#3**.
Example 1
Input: n = 8
Output: 21
Constraints
Acceptance: 65% · Topics: math, dynamic-programming, recursion
← All practice problems