Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged recurrence-relation
3
3 votes
1
1 answer
258
258 views
UGC NET CSE | December 2025 | Part 2 | Question: 38
Which of the following is correct solution of the given recurrence relation? $T(n)=3 T(n / 4)+n \log n$$\theta(n \log n)$$\theta\left(n^{2} \log n\right)$$\theta\left(n(\...
Shubham Sharma 2
258
views
asked
Apr 19
Algorithms
ugcnetcse-dec2025
recurrence-relation
algorithm-design
asymptotic-notations
+
–
3
3 votes
2
2 answers
966
966 views
GATE DA 2026 | Question: 5
Consider that the quick sort algorithm is used to sort an array of $n$ distinct randomly ordered elements. In every call, the pivot is chosen as the first element of the ...
gatecse
966
views
asked
Feb 23
Algorithms
gateda-2026
algorithms
quick-sort
recurrence-relation
one-mark
+
–
13
13 votes
7
7 answers
2.0k
2.0k views
GATE CSE 2026 | Set 2 | Question: 15
Which of the following can be recurrence relation(s) corresponding to an algorithm with time complexity $\Theta(n)$?$T(n)=T(n-1)+1, \quad T(1)=1$$T(n)=2 T\left(\frac{n}{2...
gatecse
2.0k
views
asked
Feb 23
Algorithms
gatecse-2026-set2
algorithms
recurrence-relation
multiple-selects
one-mark
+
–
4
4 votes
2
2 answers
519
519 views
GATE CSE 2026 | Set 1 | Algorithms | Memory Based | Question 34
Consider the following:For all $n>1$$$\begin{aligned}& T_1(n)=4 T_1(n / 2)+T_2(n) \\\\& T_2(n)=5 T_2(n / 4)+\theta\left(\log _2 n\right)\end{aligned}$$Assume that for all...
GO Classes
519
views
asked
Feb 12
Algorithms
goclasses
gate2026_cs_set1_memorybased
algorithms
master-theorem
recurrence-relation
one-mark
+
–
3
3 votes
3
3 answers
438
438 views
NPTEL MOCK
awasthiarpit24
438
views
asked
Feb 1
Algorithms
recurrence-relation
+
–
0
0 votes
1
1 answer
325
325 views
Recurrence Relation Writing
A recurrence arises in the problem: Number of ways to tile a 3×n rectangle with 2×1 dominoes (dominoes can be placed vertically or horizontally). Let T(n) be this number...
vishnusainune
325
views
asked
Dec 30, 2025
Algorithms
algorithms
recurrence-relation
recursion
self-doubt
+
–
3
3 votes
4
4 answers
973
973 views
GATE CS Practice : The "Master Theorem" (Algorithms)
Consider the following recurrence relation describing the running time of an algorithm: $$T(n) = 2T\left(\frac{n}{2}\right) + \frac{n}{\log n}$$$$(Base\ condition: T(1) =...
NullPointer_Pro
973
views
asked
Dec 24, 2025
Algorithms
algorithms
master-theorem
recurrence-relation
computer-science
gate-preparation
+
–
0
0 votes
1
1 answer
333
333 views
Recurrence Relation
What will be the time complexity of T(n)= 3T(n-1) +n a)Theta (3^n) or b)Theta (n*3^n)
nirmalkary
333
views
asked
Sep 18, 2025
Algorithms
algorithms
recurrence-relation
+
–
0
0 votes
1
1 answer
296
296 views
Algorithm Master Theorem
How to check if f(n) is polynomially greater than g(n)?
arbpass
296
views
asked
Sep 11, 2025
Algorithms
algorithms
master-theorem
recurrence-relation
+
–
1
1 vote
1
1 answer
470
470 views
UGC NET CSE | June 2025 | Part 2 | Question: 27
The tight asymptotic bound for the recurrence $T(n)=2 T(n / 4)+\sqrt{n}$ is$\Theta(\sqrt{n})$$\Theta(n \log n)$$\Theta(\sqrt{n} \log n)$$\Theta(n \log \sqrt{n})$
Shubham Sharma 2
470
views
asked
Sep 10, 2025
Algorithms
ugcnetcse-june2025
recurrence-relation
asymptotic-notations
algorithm-design
analysis
+
–
1
1 vote
2
2 answers
364
364 views
UGC NET CSE | January 2025 | Part 2 | Question: 59
Which of the following is the solution of the following recurrence relation $\mathrm{T}( \mathrm{n})=\mathrm{T}(2 \mathrm{n} / 3)+1$?$\theta\left(n^{2}\right)$$\theta\lef...
Shubham Sharma 2
364
views
asked
Sep 10, 2025
Algorithms
ugcnetcse-jan2025
recurrence-relation
asymptotic-notations
algorithm-design
+
–
0
0 votes
1
1 answer
362
362 views
UGC NET CSE | August 2024 | Part 2 | Question: 8
Consider the function in $C$ code:Cal(a,b) { if (b!=1) { if (a!=1) { printf("*"); Cal(a/2, b); } else { b=b-1; Cal(10,b); } }}How many times $*$ is going to be printed, i...
Shubham Sharma 2
362
views
asked
Sep 9, 2025
Programming in C
ugcnetcse-aug2024
programming-in-c
recursion
recurrence-relation
+
–
1
1 vote
1
1 answer
389
389 views
UGC NET CSE | August 2024 | Part 2 | Question: 49
Arrange the following recurrence relations in increasing order of their time capacity.$\mathrm{T}(\mathrm{n})=\mathrm{T}(\mathrm{n} / 2)+1$$\mathrm{T}(\mathrm{n})=2 \math...
Shubham Sharma 2
389
views
asked
Sep 9, 2025
Algorithms
ugcnetcse-aug2024
recurrence-relation
time-complexity
algorithm-design
asymptotic-notations
+
–
0
0 votes
1
1 answer
394
394 views
UGC NET CSE | August 2024 | Part 2 | Question: 78
Match List - I with List - II.$\begin{array}{llll} & \textbf{List - I} & & \textbf{List-II} \\ & \textbf{(Recurrence Relations)} && \textbf{(Complexity)} \\ \text{(A)}& \...
Shubham Sharma 2
394
views
asked
Sep 9, 2025
Algorithms
ugcnetcse-aug2024
recurrence-relation
time-complexity
algorithm-design
analysis
+
–
1
1 vote
2
2 answers
310
310 views
JEST TCS 2025 | Section A (MCQ) | Question: 25
Let $S = \sum_{n\geq1} \dfrac{1}{n^2}$ and $A = \sum_{n\geq1}(-1)^{n+1}\dfrac{1}{n^2}$. Then which of the following statements is true?$S$ converges but $A$ does not conv...
Random Oracle
310
views
asked
Jul 3, 2025
Combinatory
non-gatecse
jest
recurrence-relation
+
–
2
2 votes
2
2 answers
338
338 views
JEST TCS 2025 | Section A (MCQ) | Question: 20
Consider the following recurrence: $A_n$ is the sum of $A_{n-1}$ and a number chosen uniformly at random from {$1,...,n$}, starting from $A_0 :=1$. What is the expected v...
Random Oracle
338
views
asked
Jul 2, 2025
Probability
non-gatecse
jest
recurrence-relation
+
–
1
1 vote
1
1 answer
226
226 views
JEST TCS 2025 | Section A (MCQ) | Question: 15
Starting with $x_0 = 0$, suppose you do the following:, at the $n^{th}$ stepyou flip a fair coin: if it is heads then $x_n := x_{n-1} + 1$ and if it is tails then $x_n :=...
Random Oracle
226
views
asked
Jul 2, 2025
Probability
non-gatecse
jest
recurrence-relation
+
–
3
3 votes
1
1 answer
311
311 views
JEST TCS 2025 | Section A (MCQ) | Question: 08
Consider the rational number $a_n$ defined recursively as $a_n$ = $\dfrac{1}{1 + a_{n-1}}$, where $a_0 := 0$. Let $F_n$ denote the $n^{th}$ fibonacci number, where $F_0 :...
Random Oracle
311
views
asked
Jul 2, 2025
Combinatory
non-gatecse
jest
recurrence-relation
+
–
38
38 votes
14
14 answers
17.5k
17.5k views
GATE CSE 2025 | Set 1 | Question: 10
Consider the following recurrence relation:$$ T(n)=2 T(n-1)+n 2^{n} \text { for } n>0, \quad T(0)=1$$Which ONE of the following options is CORRECT?$T(n)=\Theta\left(n^{2}...
Arjun
17.5k
views
asked
Feb 27, 2025
Algorithms
gatecse2025-set1
algorithms
time-complexity
recurrence-relation
one-mark
+
–
3
3 votes
1
answers
1 answer
921
921 views
Gate 2025 Set-1
$T(n)= 2T(n-1)+n*2^n$ ; $T(0)=1$
꧁༒☬ĿọŗԀ 🆂🅷🅸🆅🅰☬༒꧂
921
views
asked
Feb 3, 2025
Algorithms
recurrence-relation
+
–
Page:
1
2
3
4
5
6
...
26
next »