aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Algorithm Time Complexity Analysis
  • Directions: Find the time complexities of the following q...
Multiple choice

Directions: Find the time complexities of the following question.

T(n)=2T(n/2)+c

  1. O(n2)

  2. O(n log n)

  3. O(n)

  4. O(log n)

Reveal answer Fill a bubble to check yourself
D Correct answer

Keep practicing — related questions

  • Consider the following recursive C function that takes two arguments unsigned int foo (unsigned int n, unsi...
  • Which of the given options provides the increasing order of asymptotic complexity of functions f1, f2, f3 a...
  • Consider the following recursive C function that takes two arguments unsigned int foo (unsigned int n, unsi...
  • What are the roots of the quadratic equation x² - 5x + 6 = 0? (a) 1, 6(b) -2, -3(c) 2, 3(d) -1, -6(e) 2, -3
  • If the quadratic equation ax² + bx + c = 0 has roots in the ratio 3 : 5, and the sum of the roots is -16, f...
  • Let the time taken to switch between user and kernel modes of execution be t1 while the time taken to switc...
  • Match Accordingly ?(match [A,B,C,D,E ]with [1,2,3,4,5])
  • Which of the following is true about SYNCPOINT? a. All the resources maintained by the dynamic log will not...
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