All challenges
Algorithm challenge · DSA
Fibonacci Number
Difficulty
easy
Time
~20m
Format
Single
Grading
Auto-graded
#dsa#python#javascript#typescript#go#java#cpp#rust
Mission file // read carefullyeasy
Return the n-th Fibonacci number where fib(0) = 0, fib(1) = 1.
Build with
fib(n: int) → longPythonJavaScriptTypeScriptGoJavaC++Rust
4 tests · 1 hidden
Auto-graded on submit
Start challenge
Sign in to save your progress.