Skip to content

annu-creator24t/Fibonacci-Number-leetcode-problem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

  • The Fibonacci sequence is defined as:
    ( F(0) = 0 ), ( F(1) = 1 ), and ( F(n) = F(n-1) + F(n-2) ) for ( n \geq 2 ).
  • The task is to find the ( n )-th Fibonacci number for a given ( n ) (0 ≤ ( n ) ≤ 30).
  • Example: For ( n = 4 ), ( F(4) = F(3) + F(2) = 2 + 1 = 3 ).
  • Solutions can be implemented using recursion, iteration, or dynamic programming for efficiency.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published