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
6,552
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
6.6k
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)$
Shoto
answered
Feb 28, 2022
selected
Mar 10, 2022
by
lucasbbs
by
Shoto
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
1
vote
1
vote
2
answers
1
mdboi
asked
in
Algorithms
Oct 28, 2022
761
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
761
views
algorithms
master-theorem
recurrence-relation
asymptotic-notation
1
vote
1
vote
1
answer
2
ItzDc
asked
in
Algorithms
Jun 3, 2022
2,843
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
2.8k
views
algorithms
recurrence-relation
master-theorem
3
votes
3
votes
3
answers
3
vishwa ratna
asked
in
Algorithms
Feb 19, 2017
21,166
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
21.2k
views
algorithms
master-theorem
1
vote
1
vote
1
answer
4
mdboi
asked
in
Algorithms
Oct 29, 2022
1,020
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
1.0k
views
algorithms
recurrence-relation
master-theorem
asymptotic-notation
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
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
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy