Question: Which of the following recurrence relations can be used to find the nth fibonacci number?

Options

A : F(n) = F(n) + F(n – 1)

B : F(n) = F(n) + F(n + 1)

C : F(n) = F(n – 1)

D : F(n) = F(n – 1) + F(n – 2)

Click to view Correct Answer

Previous || Next

Data Structure Fibonacci Recursion more questions

Given ?>0. Then

A function f:(M,?)?(N,×) is a homomorphism if ______

Calling a function f with a an array variable a[3]....

In affine block cipher systems if f(m)=Am + t, what....

In affine block cipher systems if f(m)=Am + t, what....

Choose the recursive formula for the Fibonacci series.(n>=1)

The F(t) function for a PFR is _____

An isomorphism of graphs G and H is a bijection....

Condition of semigroup homomorphism should be ____________

What is the Taylor series expansion of f(x)= x2-x+1 about....

Data Structure Adjacency List more Online Exam Quiz

Data Structure Entrance Exams

Data Structure Evaluation Infix Expression Not Parenthesized

Data Structure Experienced

Data Structure Factorial Recursion

Data Structure Fibonacci Dynamic Programming

Data Structure Fibonacci Search

Data Structure Free List

Data Structure Freshers

Data Structure Generating Combinations

Data Structure Generating Partitions