主定理案例 3 示例算法

Master Theorem Case 3 Example Algorithms

同时学习Master theorem I'm having trouble coming up with a real-world algorithm as an example, whose recurrence strategy would fall into Case 3。您能否推荐任何链接,让我可以阅读更多有关此类算法的信息?

当执行第一个递归步骤的工作量与所有其他递归步骤的工作量相当时,就会出现情况 3。用于查找数组中值的快速选择算法就是一个很好的例子。