Recent questions tagged master-theorem

1 votes
2 answers
31
0 votes
2 answers
32
0 votes
0 answers
33
consider the following c program AA(n){ if(n<=1) return (n2+n+1);else return ( 5A(n/2)+ 3A(n/2)+n2}find time complexity T(n)=?
0 votes
1 answer
34
0 votes
0 answers
35
On which of the following recurrence relation Master Theorem cannot be applied?a) T(n)=2T(n/2)+nlognb) T(n)=T(n/2)+1c) T(n)=8T(n/2)+lognd) T(n)=7T(n/4)+n^2
0 votes
1 answer
36
0 votes
1 answer
37
0 votes
2 answers
38
Find the time complexity using Master's theorem : (Also mention if Master's theorem can't be applied why not?)T(n)=2T(n/2)+nlogn
0 votes
3 answers
39
Solve using Master's Theorem$T(n)=T(n/2)+$ 2n
0 votes
3 answers
40
7 votes
3 answers
43
Why is recursive equation of following code $T(n)=T(n/2)+O(1)$, not $T(n)=8*T(n/2)+O(1)$? int x=0; int A(n) { if(n==1) return 1; else { X+=8A(n/2)+n^3; } return X; }
0 votes
1 answer
44
How to solve this in the simplest way?$T(n) = T(n/4) + T(3n/4) +n$
0 votes
2 answers
45
Can master's theorem be applied if b=1? Or strictly when b>1?
2 votes
1 answer
47
can we solve this T(n) = T(n/2) + 1 using master theorem?
1 votes
0 answers
48
9 votes
1 answer
49
3 votes
0 answers
50
I have doubt regarding Master theorem.In which situation we should use Normal Master theorem/extended Master theorem?
1 votes
1 answer
52
T(n) = 2T(n/2) + nlogna. O(nlogn)b.n(log^2n)c.O(n^2)
0 votes
0 answers
53
T(n) = T(n-1) + nIn which case it falls ??
0 votes
1 answer
55
can masters theorem be used when base condition is given in a recurrence ?can we directly apply masters theorem to any recurrence ?
2 votes
1 answer
57
explain complexity for this
1 votes
1 answer
58
is the time complexity for this fuction is O(n)?
1 votes
1 answer
60
out of these how many can be solved by master method and how to solve questions in which master theorems cant be applied