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
How to solve the following recurrence relation? I get confused when decimals are used in the expression.
rexritz
asked
in
Algorithms
Aug 13, 2023
307
views
0
votes
0
votes
$T\left ( n \right )= 8T\left ( \frac{n}{2} \right )+\left ( n\cdot logn \right )^{2.99}$
Also can $\mathcal{O}(n^{3})$ be an upper bound to above recurrence relation?
recurrence-relation
master-theorem
rexritz
asked
in
Algorithms
Aug 13, 2023
by
rexritz
307
views
answer
comment
Follow
share this
share
1 comment
by
jugnu1337
commented
Aug 13, 2023
reply
Follow
share this
you can use master theorem here. a=8 b=2 k =2.99 and p = 2.99
a>b$^{k}$ (8>2$^{2.99}$) and if p>=0 then n$^{k}$ log$^{p}$n.
so n$^{2.99}$log$^{2.99}$n
let n$^{2.99}$log$^{2.99}$n = X
we can easily see X<n$^{3}$. so yes it is upper bond .
1
1
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
0
Answers
← Previous
Next →
← Previous in category
Next in category →
Related questions
0
votes
0
votes
0
answers
1
Purple
asked
in
Algorithms
Jan 26, 2016
221
views
How to remove recurrence relation when two or more are combined
What should be the approch to solve these relations? Consider the recurrence relation T(n) = T(n–1) + T(n/2) + n. Which of the following is a good tight upper bound on T(n) (A) Θ(n2) (B) Θ(n2 log n) (C) Θ(2 (log n)2) (D) Θ(n (log n)2)
Purple
asked
in
Algorithms
Jan 26, 2016
by
Purple
221
views
algorithms
recurrence-relation
1
vote
1
vote
6
answers
2
mohitrai0_0
asked
in
Algorithms
Sep 28, 2018
19,019
views
Can we solve the recurrence T(n) = T(n/2) + 2^n by masters theorem, if possible?
I was wondering whether the recurrence T(n) = T(n/2) + 2n could be solved by using master theorem, and what would be the way. I tried solving the recurrence but can't. There is no mention to it in CLRS book. Please help. Thanks in advance.
mohitrai0_0
asked
in
Algorithms
Sep 28, 2018
by
mohitrai0_0
19.0k
views
recurrence-relation
algorithms
master-theorem
time-complexity
asymptotic-notation
3
votes
3
votes
1
answer
3
Prasanna
asked
in
Algorithms
Nov 26, 2015
1,575
views
Recurrence: How to approach
Solve Recurrence A) T(n) = T( √ n) + Θ(lg lg n) B) T(n) = T(n/2 + √ n) + √ 6046 C) T(n) = T(n − 2) + lg n D) T(n) = √ n T( √ n) + 100n
Prasanna
asked
in
Algorithms
Nov 26, 2015
by
Prasanna
1.6k
views
master-theorem
algorithms
recurrence-relation
1
vote
1
vote
1
answer
4
mdboi
asked
in
Algorithms
Oct 29, 2022
1,021
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