When for some , the recurrence relation evaluates to :
GATE CSE · Algorithms
Generate diverse GATE-level questions covering solving recurrences using substitution, recursion tree, and Master Theorem, including edge cases and complexity analysis.
64 questions · 10 PYQs · 10 AI practice · GATE CSE 2027
When for some , the recurrence relation evaluates to :
Consider the following recurrence: T(n)=2T(\left \lceil \sqrt{n} \right \rceil$ )+ 1, T(1) = 1 Which one of the following is true?
Let T(n) be a function defined by the recurrence and Which of the following statements is TRUE?
Suppose T(0)=T(1)=1 Which one of the following is FALSE?
Consider a list of recursive algorithms and a list of recurrence relations as shown below. Each recurrence relation corresponds to exactly one algorithm and is used to derive the time complexity of the algorithm.
Which of the following is the correct match between the algorithms and their recurrence relations?
The recurrence equation T(1) = 1 T(n) = 2T(n - 1) + n, n 2 evaluates to
Consider the following recurrence relation T(1)=1 T(n+1)=T(n)+ for all n 1 The value of T( ) for m 1 is
The solution to the recurrence equation is
The running time of the following algorithm Procedure A(n) If n 2 return (1) else return (A(\sqrt{n}$ )); is best discribed by
The recurrence relation has the solution equal to
Lucas sequence Ln = Ln-1 + Ln-2 with L1=1, L2=3. Which is correct?
Which method is commonly used to solve recurrences like T(n)=2T(n/2)+n?
Solve the recurrence T(n) = 4T(n/2) + n using the Master Theorem.
The Master Theorem cannot be applied to which recurrence?
The Akra-Bazzi method generalizes the Master Theorem. For the recurrence T(n) = T(n/3) + T(2n/3) + n, the Master Theorem cannot be applied directly because the subproblem sizes are unequal. What is the correct time complexity?
Use the substitution method to verify that T(n) = 2T(⌊n/2⌋) + n is O(n log n). What is the inductive hypothesis used?
Solve the recurrence T(n) = 4T(n/2) + n² using the Master Theorem.
Which of the following statements about recurrence relations and their solutions are TRUE?
Apply the Master Theorem to T(n) = 3T(n/4) + n log n. What is the solution?
Solve the recurrence T(n) = T(n-2) + 1 with T(1) = T(2) = 1. What is the time complexity?
Want unlimited AI-generated Recurrence Relations questions?
Sign up free and practice with adaptive difficulty — Easy, Medium, Hard. New questions every session.
Start practising for free →