Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged master-theorem
1
votes
2
answers
31
MadeEasy Subject Test: Algorithms - Recurrence
which of the following cannot be solved using masters theorem? a) T(n) = 2T(n/2) + n/logn b) T(n) = 2T(n/2) + logn c)T(n)=T(n/2)+logn d) non of these
which of the following cannot be solved using masters theorem?a) T(n) = 2T(n/2) + n/lognb) T(n) = 2T(n/2) + lognc)T(n)=T(n/2)+lognd) non of these
manvi_agarwal
2.1k
views
manvi_agarwal
asked
Aug 11, 2018
Algorithms
made-easy-test-series
recurrence-relation
master-theorem
+
–
0
votes
2
answers
32
masters theorem
Solution using back substitution method T(n) = 2T(n/2) + nlogn ? detailed solution please. ans is nlognlogn or n(logn)^2
Solution using back substitution methodT(n) = 2T(n/2) + nlogn ?detailed solution please.ans is nlognlogn or n(logn)^2
manvi_agarwal
1.8k
views
manvi_agarwal
asked
Aug 10, 2018
Algorithms
time-complexity
algorithms
master-theorem
asymptotic-notation
recurrence-relation
+
–
0
votes
0
answers
33
self doubt
consider the following c program A A(n) { if(n<=1) return (n2+n+1); else return ( 5A(n/2)+ 3A(n/2)+n2 } find time complexity T(n)=?
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)=?
hitendra singh
776
views
hitendra singh
asked
Aug 8, 2018
Algorithms
algorithms
master-theorem
+
–
0
votes
1
answer
34
Masters Theorem
How can we apply Masters theorem to these equations : T(n) = 16*T(n/4) + n! and T(n) = 4*T(n/2) + cn Please explain the process.
How can we apply Masters theorem to these equations : T(n) = 16*T(n/4) + n!and T(n) = 4*T(n/2) + cnPlease explain the process.
Rahul Ranjan 1
1.7k
views
Rahul Ranjan 1
asked
Aug 6, 2018
Algorithms
master-theorem
time-complexity
algorithms
asymptotic-notation
recurrence-relation
+
–
0
votes
0
answers
35
Master theorem rules
On which of the following recurrence relation Master Theorem cannot be applied? a) T(n)=2T(n/2)+nlogn b) T(n)=T(n/2)+1 c) T(n)=8T(n/2)+logn d) T(n)=7T(n/4)+n^2
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
Sandy Sharma
800
views
Sandy Sharma
asked
Aug 1, 2018
Algorithms
algorithms
master-theorem
+
–
0
votes
1
answer
36
Introduction To Algorithms
T(N) = 3T(N/4) + NlogN T(N) = 2T(N/2)+ NlogN Master theorem applicable to this ??
T(N) = 3T(N/4) + NlogNT(N) = 2T(N/2)+ NlogNMaster theorem applicable to this ??
jatin khachane 1
1.4k
views
jatin khachane 1
asked
Jul 23, 2018
Algorithms
algorithms
master-theorem
recurrence-relation
+
–
0
votes
1
answer
37
Masters theorem
Solve by using master's theorem
Solve by using master's theorem
bts
567
views
bts
asked
Jul 17, 2018
Algorithms
time-complexity
master-theorem
algorithms
asymptotic-notation
recurrence-relation
+
–
0
votes
2
answers
38
Time complexity
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
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
Soham.SR
806
views
Soham.SR
asked
Jul 16, 2018
Algorithms
time-complexity
master-theorem
+
–
0
votes
3
answers
39
Masters theorem
Solve using Master's Theorem $T(n)=T(n/2)+$ 2n
Solve using Master's Theorem$T(n)=T(n/2)+$ 2n
Vishnathan
847
views
Vishnathan
asked
Jul 16, 2018
Algorithms
master-theorem
algorithms
time-complexity
+
–
0
votes
3
answers
40
Made easy work book
How to solve T (n)=T (sqrt n)+ n
How to solve T (n)=T (sqrt n)+ n
Priyanka Agarwal
550
views
Priyanka Agarwal
asked
Jun 22, 2018
Algorithms
master-theorem
recurrence-relation
made-easy-booklet
+
–
1
votes
1
answer
41
Master method
shweta sah
358
views
shweta sah
asked
Jun 15, 2018
Algorithms
master-theorem
recurrence-relation
time-complexity
test-series
+
–
3
votes
1
answer
42
Extended Master's Theorem $T(n)=n^{1/2}T(n^{1/2})+n$
Can Extended Masters theorem be applied to the following recursive equation ? $T(n)=n^{1/2}T(n^{1/2})+n$ I solved this using back substitution and the time complexity came out to be $O(n*(loglogn))$ I was wondering if this ... masters theorem, like the way Tauhin Gangwar has solved here - https://gateoverflow.in/60532/find-tc-t-n-2t-n-1-2-1
Can Extended Masters theorem be applied to the following recursive equation ?$T(n)=n^{1/2}T(n^{1/2})+n$I solved this using back substitution and the time complexity came ...
Hardik Maheshwari
3.7k
views
Hardik Maheshwari
asked
Jun 11, 2018
Algorithms
time-complexity
algorithms
master-theorem
asymptotic-notation
recurrence-relation
+
–
7
votes
3
answers
43
Time complexity , Recursion
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; }
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; }
bts
1.9k
views
bts
asked
May 29, 2018
Algorithms
recursion
time-complexity
algorithms
master-theorem
+
–
0
votes
1
answer
44
#Recurrence_Relation
How to solve this in the simplest way? $T(n) = T(n/4) + T(3n/4) +n$
How to solve this in the simplest way?$T(n) = T(n/4) + T(3n/4) +n$
himgta
421
views
himgta
asked
Apr 12, 2018
Algorithms
recurrence-relation
master-theorem
+
–
0
votes
2
answers
45
Master's theorem
Can master's theorem be applied if b=1? Or strictly when b>1?
Can master's theorem be applied if b=1? Or strictly when b>1?
Ajit J
436
views
Ajit J
asked
Apr 1, 2018
Algorithms
algorithms
master-theorem
normal
+
–
0
votes
1
answer
46
Uttrakhand Asst. Professor Exam-62
The running time of an algorithm $T(n)$, where $n$ is the input size, is given by following: $T(n) = \begin{cases} 8T(n/2) + qn & \text{ if } n>1 \\ p & \text{ if } n = 1 \end{cases}$ where $p$ and $q$ are constants, the order of algorithm is $n^2$ $n^3$ $n$ $n^n$
The running time of an algorithm $T(n)$, where $n$ is the input size, is given by following:$T(n) = \begin{cases} 8T(n/2) + qn & \text{ if } n>1 \\ p & \text{ if } n = 1...
gatecse
212
views
gatecse
asked
Mar 2, 2018
Unknown Category
uttarakhand-asst-prof-2018
algorithms
recurrence-relation
master-theorem
+
–
2
votes
1
answer
47
recurrence using Master theorem
can we solve this T(n) = T(n/2) + 1 using master theorem?
can we solve this T(n) = T(n/2) + 1 using master theorem?
iarnav
1.1k
views
iarnav
asked
Jan 11, 2018
Algorithms
algorithms
master-theorem
time-complexity
+
–
1
votes
0
answers
48
solve this
$T(n) = 2t(\frac{n}{2}) + \frac{n}{\log n } ; T(1 ) =1$
$T(n) = 2t(\frac{n}{2}) + \frac{n}{\log n } ; T(1 ) =1$
sumit goyal 1
641
views
sumit goyal 1
asked
Jan 9, 2018
Algorithms
algorithms
time-complexity
master-theorem
recurrence-relation
+
–
9
votes
1
answer
49
T(n) = T(n/4) + T(3n/4) +n
How to solve above recurrence relation (With substitution method)??
How to solve above recurrence relation (With substitution method)??
anoop yadav 2
13.5k
views
anoop yadav 2
asked
Jan 8, 2018
Algorithms
algorithms
master-theorem
recurrence-relation
time-complexity
recursion
+
–
3
votes
0
answers
50
Master theorem and extended Master theorem
I have doubt regarding Master theorem.In which situation we should use Normal Master theorem/extended Master theorem?
I have doubt regarding Master theorem.In which situation we should use Normal Master theorem/extended Master theorem?
Sona Barman
2.3k
views
Sona Barman
asked
Jan 8, 2018
Algorithms
algorithms
master-theorem
time-complexity
+
–
2
votes
1
answer
51
Ace Test series: Algorithms - Recurrence
smsubham
533
views
smsubham
asked
Jan 6, 2018
Algorithms
ace-test-series
time-complexity
master-theorem
recurrence-relation
algorithms
+
–
1
votes
1
answer
52
Master Theorem
T(n) = 2T(n/2) + nlogn a. O(nlogn) b.n(log^2n) c.O(n^2)
T(n) = 2T(n/2) + nlogna. O(nlogn)b.n(log^2n)c.O(n^2)
dragonball
577
views
dragonball
asked
Dec 19, 2017
Algorithms
algorithms
master-theorem
time-complexity
+
–
0
votes
0
answers
53
Master theorem
T(n) = T(n-1) + n In which case it falls ??
T(n) = T(n-1) + nIn which case it falls ??
aka 53
355
views
aka 53
asked
Nov 22, 2017
Algorithms
algorithms
time-complexity
master-theorem
+
–
0
votes
4
answers
54
Masters theorem
akash.dinkar12
905
views
akash.dinkar12
asked
Nov 4, 2017
Algorithms
master-theorem
recurrence-relation
time-complexity
made-easy-test-series
+
–
0
votes
1
answer
55
self doubt apply
can masters theorem be used when base condition is given in a recurrence ? can we directly apply masters theorem to any recurrence ?
can masters theorem be used when base condition is given in a recurrence ?can we directly apply masters theorem to any recurrence ?
Venkat Sai
360
views
Venkat Sai
asked
Nov 3, 2017
Algorithms
algorithms
master-theorem
+
–
1
votes
1
answer
56
Master Theorem
dragonball
525
views
dragonball
asked
Oct 15, 2017
Algorithms
algorithms
master-theorem
time-complexity
test-series
+
–
2
votes
1
answer
57
master theorem
explain complexity for this
explain complexity for this
set2018
4.1k
views
set2018
asked
Aug 17, 2017
Algorithms
algorithms
master-theorem
time-complexity
+
–
1
votes
1
answer
58
master theorem
is the time complexity for this fuction is O(n)?
is the time complexity for this fuction is O(n)?
set2018
637
views
set2018
asked
Aug 17, 2017
Algorithms
algorithms
master-theorem
time-complexity
+
–
1
votes
1
answer
59
Do we need to study the proof of master theorem for gate?
Aishani Basu
426
views
Aishani Basu
asked
Aug 4, 2017
Algorithms
algorithms
master-theorem
+
–
1
votes
1
answer
60
corman ex
out of these how many can be solved by master method and how to solve questions in which master theorems cant be applied
out of these how many can be solved by master method and how to solve questions in which master theorems cant be applied
Meenakshi Sharma
283
views
Meenakshi Sharma
asked
Jul 8, 2017
Algorithms
cormen
master-theorem
+
–
Page:
« prev
1
2
3
4
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register