📚 Question Bank
Q77 — Algorithms
⚙
Tags
👁
Hide
☾
Dark
Home
›
UGC NET Paper 2: Computer Science and Application 26th June 2025 Shift 1
› Algorithms
Algorithms
Q77.
Marks: +2.0
UGC NET Paper 2: Computer Science and Application 26th June 2025 Shift 1
The tight asymptotic bound for the recurrence T(n) = 2T(n / 4) + sqrt(n) is
1.
Θ (
\(\sqrt{n}\)
)
2.
Θ (n log n)
3.
Θ (
\(\sqrt{n}\)
log n)
✓ Correct
4.
Θ (n log
\(\sqrt{n}\)
)
Show Solution
Solution
The correct answer is
Θ( √n · log n )
Key Points
Given recurrence:
T(n) = 2T(n/4) + √n
.
Compare with Master Theorem form:
T(n) = aT(n/b) + f(n)
where
a = 2
,
b = 4
,
f(n) = n
1/2
.
Compute the critical exponent:
n
log
b
a
= n
log
4
2
= n
1/2
.
Since
f(n) = Θ(n
log
b
a
)
, Master Theorem
Case 2
applies.
Therefore,
T(n) = Θ(n
log
b
a
· log n) = Θ(√n · log n)
.
Important Points
Case 1:
If
f(n) = O(n
log
b
a − ε
)
⇒
T(n) = Θ(n
log
b
a
)
.
Case 2:
If
f(n) = Θ(n
log
b
a
)
⇒
T(n) = Θ(n
log
b
a
log n)
(this problem).
Case 3:
If
f(n) = Ω(n
log
b
a + ε
)
and regularity holds ⇒
T(n) = Θ(f(n))
.
📄 All “Algorithms” questions across papers
← Previous
4 / 4 in this subject •
Back to paper
Next →
🏷 Change Tag for this Question
▶
Loading…
Update Tag