/fibonacci

Implementation samples of fibonacci algorithms in Rust

Primary LanguageRust

Fibonacci in Rust

Fibonacci samples built for learning purposes:

  1. Using a recursive method: fibonacci_recursive(n: u32) -> u32
  2. Using an iterative method: fibonacci_iterative(n: u32) -> u32