Menu
The Second method is the Iterative Method.
The iterative method is excellent because, with this method, you can solve all the recurrence problems.Â
Iterative Method:
This means that the recurrence is expanded and expressed as a sum of terms from n and the initial condition. T(1) was the required time in the initial state. To transform the recursion, first, decompose T(n) into sub-problem and then sub-sub-problem and then up to T(1).
Â