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