1. Engineering
  2. Computer Science
  3. 8 project write a recursive function fibithelper that takes three...

Question: 8 project write a recursive function fibithelper that takes three...

Question details

8. (project) Write a recursive function fibItHelper that takes three arguments, n, a, and b; it should implement the recurrence f. Then write a function fibIt that calls fibItHelper initializing a to 0 and b to 1. Does fibIt also run slowly on the value of n that you found made fib run slowly?

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution