Challenge: Fibonacci Number

Solve the Fibonacci Number Problem.

We'll cover the following

Problem


Fibonacci Number Problem

Compute the nn-th Fibonacci number.

Input: An integer nn.

Output: The nn-th Fibonacci number.

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.