5b) Give a recurrence equation describing the worst-case behavior of the program.
5c) Solve the recurrence equation.
Fig: 1