Recent questions tagged recurrence-relation

0 votes
2 answers
241
1 votes
2 answers
242
recurrence relation 2a$_{n}=a_{n-1}+2^{n}$ intial condtion a$_{0}$=1 value of a$_{100}$
0 votes
1 answer
243
0 votes
0 answers
244
Difference between getting closed form of generating function and closed form of the given sequence ,pls someone explain with an example
0 votes
3 answers
245
For the given recurrence equation$\begin{array} T(n) & =2T(n-1), &\text{if } n>0 \\ & =1, & \text{otherwise} \end{array}$$O(n \log n)$$O(n^2)$$O(2^n)$$O(n)$
0 votes
0 answers
247
T(n)=T(n-1)*(n-1)+1 hints :define R(n) = T(n)/(n-1)!solve the recurrence for R(n)express T(n) as a function of R(n) How to proceed , i am not getting it ?Can i reduce it ...
0 votes
1 answer
248
T(n)=4T(n/2)+n$^{2}\sqrt{2}$ T.C
0 votes
0 answers
249
4 votes
2 answers
251
0 votes
0 answers
252
WHAT IS RECURRENCE RELATION ?I M GETTING T(n-2)+1
0 votes
1 answer
253
T(n)=5 T ($\frac{n}{2}$+16) + n2please tell the solution as i m getting confused
0 votes
0 answers
254
1 votes
1 answer
255
0 votes
1 answer
256
0 votes
1 answer
257
What is order of T(n) ?T(n) = T(n-1) + 2$^{n}$ , n>1T(n) = 1 , n=1A) O(2$^{n}$)B) O(n.2$^{n}$)C) O(2$^{2n}$)
0 votes
2 answers
259
0 votes
1 answer
260
T(1) = 1 T(n) = 2T(n - 1) + n, n ≥ 2 evaluates to(a) 2n + 1 - n – 2(b) 2n – n(c) 2n + 1 – 2n – 2(d) 2n – n HOW TO EVALUATES USING MASTER THEOREM
0 votes
1 answer
261
0 votes
1 answer
263
I want to learn to find time complexity of the recurrence relation of an algorithm.Please suggest some good links or any gatetoverflow imp questions links to look as exam...
1 votes
1 answer
264
how to compute time complexity of this kind of recurrence relation-T(n)=T(n/2)+T(n/4)+T(n/8)+n
0 votes
1 answer
266
In Quicksort let n/7​ th ​ smallest element is chosen using an O(n2​ ) algorithm as thepivot. Calculate the worst case time complexity of the algorithm.
0 votes
3 answers
267
0 votes
2 answers
268
Let $T(n) = T(n-1) + \frac{1}{n} , T(1) = 1 ;$ then $T(n) = ? $$O(n^{2})$$O(logn)$$O(nlogn)$$O(n^{2}logn)$
0 votes
1 answer
269
T(n)=0.5T(n/2)+n^3How to solve this using recurrence method?
5 votes
3 answers
270