Question: 3. Evaluate the following recurrence relations and write down the big-O in terms of n. a. f(n)=2f(2n)+an,a is a constant and f(1)=1. b. f(n)=f(n1)+n2 and

3. Evaluate the following recurrence relations and write down the big-O in terms of n. a. f(n)=2f(2n)+an,a is a constant and f(1)=1. b. f(n)=f(n1)+n2 and f(0)=1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
