Give the tightest asymptotic bounds you can for the followin
Solution
a.)
The tightest upper bound for the given recurrence relation will be o(n12), because when we solve this recurrence relation we will end up with an arithmetic series. which wil be like 111+211+311+.......+(n-1)11+n11
the result of which will be o(n12)
b.)
When we solve this recurrence relation using master theorem the solution will fall into case 3 because b=2 and a =3 so nlogba=n < n2, So T(n) = o(n2)
c.)
When we solve the given recurence relation using master theorem the comparison between nlogba and f(n) will fall into case 1 of the theorem, So the time complexity will be O(n3). or we can write o(n3) for tightest upper bound.
d.)
When we compare the nlogba and f(n) for the given recurrence relation using master theorem then this will fall into case 3 of master theorem since n log n > n So T(n) = O(f(n)) = O(n log n). The relation is same for tightest upper bound as well o(n log n).
