aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Test 4 - Algorithms | Computer Science(CS)
  • The solution to the recurrence equation $T(2^k) = 3T(2^{k...
Multiple choice

The solution to the recurrence equation $T(2^k) = 3T(2^{k-1})+1, T(1) =1$ is

  1. $2^k$
  2. $\frac{(3^{k+1}-1)}{2}$
  3. $3^{\log_2 k}$
  4. $2^{\log_3 k}$
Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Keep practicing — related questions

  • The recurrence equation T(1) = 1 T(n) = 2T(n − 1) + n, n $\le$ 2 evaluates to
  • Consider the following recurrence relation $T(1)=1$ $T(n+1) = T(n)+\lfloor \sqrt{n+1} \rfloor$ for all $n \...
  • The order of the following recurrence: $T(n) = 2T([\sqrt{n}]) + 1$ is
  • The order of the following recurrence: $T(n) = 2T([\sqrt{n}]) + 1$ is
  • Match the following: Name of salt solution|Nature| |a. Sodium carbonate solution|1. Neutral| |b. Ammonium c...
  • The equation to the chord of the circle $x^{2}+y^{2}=9$ whose middle point is $(1,-2)$ is
  • Consider the following statements: 1. When steam is passed over red-hot coke, CNG is produced. 2. Potassium...
  • Who among the following were the members of the Drafting Committee of the Constitution? (1) K. M. Munshi (2...
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Data Structures and Algorithms (1518 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy