Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
What is the recurrence for T(n)=2T(n/4)+sqrt(n) using the Master Theorem
lucasbbs
asked
in
Algorithms
Feb 28, 2022
1,378
views
0
votes
0
votes
How do I apply the master theorem in the above recurrence? Please give details about which case and on hiow to solve the asymptotic analysis...
master-theorem
algorithms
recurrence-relation
lucasbbs
asked
in
Algorithms
Feb 28, 2022
by
lucasbbs
1.4k
views
answer
comment
Follow
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
6
votes
6
votes
Best answer
$T(n) = 2T(\frac{n}{4}) + \sqrt{n}$
here a = 2, b = 4 and k = $\frac{1}{2}$
$b^k = 4^{\frac{1}{2}}$ = 2
$a = b^k$ (Case 2 of Master’s theorem)
Now p = 0 (Case 2(a) of Master’s theorem)
Therefore $T(n) = O(n^{\frac{1}{2}} logn)$
Aditya_
answered
Feb 28, 2022
selected
Mar 10, 2022
by
lucasbbs
by
Aditya_
comment
Follow
share this
1 comment
by
raja11sep
commented
Mar 8, 2022
reply
Follow
share this
nice.
1
1
Please
log in
or
register
to add a comment.
← Previous
Next →
← Previous in category
Next in category →
Related questions
0
votes
0
votes
1
answer
1
mdboi
asked
in
Algorithms
Oct 28, 2022
148
views
how to solve T(n)=2T(n/2)−n^3n with master theorem
how do i apply master theorem to this? T(n)=2T(n/2)−n^3n
mdboi
asked
in
Algorithms
Oct 28, 2022
by
mdboi
148
views
algorithms
master-theorem
recurrence-relation
asymptotic-notations
0
votes
0
votes
1
answer
2
ItzDc
asked
in
Algorithms
Jun 3, 2022
631
views
Solve equation using master theorem T(n) = 8T(n/2) + 3n^2
I can't figure out how to proceed and which case it's falling under after calculating h(n)
ItzDc
asked
in
Algorithms
Jun 3, 2022
by
ItzDc
631
views
algorithms
recurrence-relation
master-theorem
asymptotic-notations
3
votes
3
votes
3
answers
3
vishwa ratna
asked
in
Algorithms
Feb 19, 2017
15,935
views
T(n)=16T(n/4)+n! using the Master Theorem
how do i apply master theorem to this? https://s17.postimg.org/x7xld2nf3/Screenshot_82.png what is P and K here?
vishwa ratna
asked
in
Algorithms
Feb 19, 2017
by
vishwa ratna
15.9k
views
algorithms
master-theorem
0
votes
0
votes
1
answer
4
mdboi
asked
in
Algorithms
Oct 29, 2022
288
views
how to solve T(n)=4T(√n)+3^5n with master theorem
how do i apply master theorem to this?
mdboi
asked
in
Algorithms
Oct 29, 2022
by
mdboi
288
views
algorithms
recurrence-relation
master-theorem
asymptotic-notations
Subscribe to GATE CSE 2023 Test Series
Subscribe to GO Classes for GATE CSE 2023
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
From GATE to Australia
DRDO Previous Year Papers
From Rank 4200 to 64: My Journey to Success in GATE CSE Exam
What are the key things to focus on during the final 10-15 days before the GATE exam to improve performance?
All India GO Classes Mock test
Subjects
All categories
General Aptitude
(2.5k)
Engineering Mathematics
(9.3k)
Digital Logic
(3.3k)
Programming and DS
(5.9k)
Algorithms
(4.6k)
Theory of Computation
(6.7k)
Compiler Design
(2.3k)
Operating System
(5.0k)
Databases
(4.6k)
CO and Architecture
(3.8k)
Computer Networks
(4.6k)
Non GATE
(1.3k)
Others
(2.4k)
Admissions
(649)
Exam Queries
(842)
Tier 1 Placement Questions
(17)
Job Queries
(74)
Projects
(9)
Unknown Category
(853)
Recent Blog Comments
This guy was just exceptional. I remember hearing...
Inspirational! Found the right Blog at the right...
That was my second attempt. I already had notes,...
Sorry to break the news, but: I see a few flaws...
bhai mujhe bhi bula lo australia......mai bhi...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy