知识卡片

普通读书笔记卡 · 3596.c.5

代入法须猜测并归纳

理解等级:中级

代入法先猜递归式解的渐近形式,再把带具体常数的猜测代入较小规模子问题,用数学归纳法验证并确定常数。

证明 Θ 界时可分别证明 O 上界和 Ω 下界。

猜测只是起点;递归步骤与基例都必须成立。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 第4章 分治策略 · 查看原书依据

      The substitution method comprises two steps: Guess the form of the solution using symbolic constants. Use mathematical induction to show that the solution works, and find the constants.

    参考来源

    - 位置:《算法导论(第4版)》第 4 章 4.3–4.4 节(`OEBPS/chapter004.xhtml`,文本字符 [30000, 35000))。 - 结论依据:4.3 节把代入法明确拆为猜含常数的解式、对较小自变量代入并用归纳验证两步;Θ 界需分别证明上、下界。 - 原始内容:The substitution method comprises two steps: Guess the form of the solution using symbolic constants. Use mathematical induction to show that the solution works, and find the constants.