hi i have this recurrence: how to solve? a) Solve the following recurrence using the iteration method and give an asymptotic running time: T(0)=0 and T(n)=10 +T(n-1), for n ≥ 1
hi i have this recurrence: how to solve? a) Solve the following recurrence using the iteration method and give an asymptotic running time: T(0)=0 and T(n)=10 +T(n-1), for n ≥ 1
You can use dynamic programming technique to iteratively solve the problem:
Running time for the above algorithm will n.