retagged by
360 views

1 Answer

1 votes
1 votes

Hope it clears your doubt :) (please excuse my untidyness)

Related questions

1 votes
1 votes
0 answers
1
srestha asked May 19, 2019
648 views
Let $A(n)$ denotes the number of $n$ bit binary strings which have no pair of consecutive $1’s.$ what will be recurrence relation for it and what will be it’s Time Co...
0 votes
0 votes
2 answers
2
Verma Ashish asked Sep 19, 2018
768 views
How to solve the given recurrence relation using master's theorem?T(n)=T(${n^{1/2}}$)+n
0 votes
0 votes
1 answer
3
eyeamgj asked Jun 24, 2018
426 views
consider the following c program A(n){if(n<=1)return(n2 +n+1)elsereturn(5A(n/2)+3A(n/2)+MA(n))}where MA(n) has complexity O(n2).1.what is the recurrence relation for valu...
1 votes
1 votes
2 answers
4
Phlegmatic asked Jun 8, 2018
725 views
What will be the solution of the following recurrence?$$T(n)=3T\sqrt{n}+\log(n)$$