If n = length of original array, j = current level, k = number of subproblems at that level and l = length of array in each subproblem, what are k and l in terms of j and n?
If n = length of original array, j = current level, k = number of subproblems at that level and l = length of array in each subproblem, what are k and l in terms of j and n?
Answer:
Number of subproblems at level j is 2^j.
Length of array in each subproblem at level j is n/j^2.