Problem Description

Create a function that generates the Fibonacci sequence. Store the previous two values ​​in static variables. Return the next Fibonacci number on every call.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next