Recursionhard
0:00.0

A recursive function processes a sequence of length nn by making recursive calls on two independent subproblems. Let W(n)W(n) be the total work (cost of all recursive calls combined, including the root). If each level of recursion does work proportional to nn, and the recursion tree has depth Θ(logn)\Theta(\log n), which statement about W(n)W(n) is correct?