- -
UPV
 

Recursive Algorithm Analysis: Master Theorems

In this video recursive algorithms are analyzed to identify emerging theorems. Recurrences in these algorithms can be classified into two types: divisive recurrences that use division and subtracted recurrences that use subtraction. The factorial and binary search algorithms are used as examples to demonstrate how their recurrence equations can be generalized. The factorial's recurrence equation is shown to have a linear time cost, while the binary search's equation has a logarithmic time cost. These findings can be applied to any recursive problem with an equation resembling either divisive or subtracted recurrences, as long as certain conditions are met and the correct equation is chosen.


EMAS upv