Q.1.
Solve the following recurrence using Master’s theorem.
Q.2.
Solve the following recurrence using Master’s theorem.
Q.3.
Solve the following recurrence using Master’s theorem.
Q.4.
Solve the following recurrence using Master’s theorem.
Q.5.
Solve the following recurrence using Master’s theorem.
Q.6.
Solve the following recurrence using Master’s theorem.
Q.7.
Solve the following recurrence using Master’s theorem.
Q.8.
What will be the recurrence relation of the following code? Int sum(int n) { If(n== return else return n+sum(n-1); }
Q.9.
What will be the recurrence relation of the following code? int xpowy(int x, int n) if (n==returnif (n==return x; if ((n %==return xpowy(x*x, n/2); else return xpowy(x*x, n/* x;
Q.10.
What will be the time complexity of the following code? int xpowy(int x, int n) { if (n== return if (n== return x; if ((n %== return xpowy(x*x, n/2); else return xpowy(x*x, n/* x; }