Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What is the time complexity of the following?
f ( n ) = f ( n-1 ) + 2 n – 1, where f(0)=0.
Θ(n2)
Θ(3n)
Θ(2n)
Θ(n3)
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!