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