Solved

An Algorithm Has the Following Formula for Its Running Time

Question 50

Essay

An algorithm has the following formula for its running time:
T(n) = T(n / 4) + 2
T(1) = 1
What is the running time of the algorithm in Big-Oh notation? Show your work.

Correct Answer:

verifed

Verified

O( log n )
T(n) = T(n / 4) + 2
T(n) = T(...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions