Académique Documents
Professionnel Documents
Culture Documents
(Based on Unit-I)
Analysis and Design of Algorithms
Q12. Draw recursion tree for T(n)=4T(n/2)+cn where c is a constant and provide a
tight asymptotic bound on its solution.
Q13. Using the master method, give tight asymptotic bounds for the following
recurrences:
a) T(n) = 4T(n/2) + n
b) T(n) = 4T(n/2) + n2
c) T(n) = 4T(n/2) + n3
Q14. Write down recurrence relation in the formula form for divide and conquer
algorithm.
Q15. Given f(n)= log n, g(n)=n1/2. Show which function is asymptotically faster?
Q16. Explain why the statement “The running time of algorithm A is at least O (n 2)”
is meaningless.