Question DSA-CX-0069
HardWhat does T(n) = T(n − 1) + log n solve to?
- A.
Θ(n log n)
- B.
Θ(log n)
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Complexity Analysis question
What does T(n) = T(n − 1) + log n solve to?
Θ(n log n)
Θ(log n)
Sign up free to see the answer and a step-by-step explanation.
Θ(n)
Θ(log² n)