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