3. For each of the algorithms below [parts (a) and (b)] • Sketchout first few levels of the recusrion tree. (At each node of thetree, record the non-recursive runtime.) • Compute runtime of each(full) level. • Compute length of shortest and longest branch. •Carefully use this information to compute lower and upper boundsfor T(n), working out Θ of its runtime. As you do the computations,write a sentence or two explaining your logic.
func2B
OR
OR