Recursionhard
0:00.0
A recursive function processes a sequence of length by making recursive calls on two independent subproblems. Let be the total work (cost of all recursive calls combined, including the root). If each level of recursion does work proportional to , and the recursion tree has depth , which statement about is correct?
A recursive function processes a sequence of length by making recursive calls on two independent subproblems. Let be the total work (cost of all recursive calls combined, including the root). If each level of recursion does work proportional to , and the recursion tree has depth , which statement about is correct?