Skip to content
RED SAG Skills
medium10 pts · first answer countssorting-and-searching

Solving T(n) = 2T(n/2) + 1

A recursive function finds the maximum of an array by taking the max of its two halves. Its recurrence is T(n) = 2T(n/2) + O(1). What is its running time?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions