Solved

Suppose a Program Contains a Recursive Method FindFibonacci(int N),which Computes

Question 14

Essay

Suppose a program contains a recursive method findFibonacci(int n),which computes the n-th Fibonacci number.Even if we know that a client method will never call findFibonacci( )with the values 1 or 2 as arguments,why does the implementation of findFibonacci( )still need to have base cases?

Correct Answer:

verifed

Verified

In the course of findFibonacci's own rec...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions