Question: Algorith Analysis Solve the following recurrence relation (a) X(n) = X(n/2) + n for n> 1, X(1) = 1 (b) X(n) = X(n/3) + 1
Algorith Analysis
Solve the following recurrence relation
(a) X(n) = X(n/2) + n for n> 1, X(1) = 1
(b) X(n) = X(n/3) + 1
Note: Please solve it clear and concise.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
