gpt4 book ai didi

algorithm - 渐近。如果 f(n) = theta(g(n)) 且 g(n) = theta(h(n)),那么为什么 h(n) = theta(f(n))

转载 作者:塔克拉玛干 更新时间:2023-11-03 05:38:35 26 4
gpt4 key购买 nike

它是 f(n)=theta(h(n)) 因为 theta 是可传递的。但是谁能解释为什么 h(n)=theta(f(n))。

最佳答案

通过定义扩展 Big-O 符号通常会使事情变得简单。

enter image description here

关于algorithm - 渐近。如果 f(n) = theta(g(n)) 且 g(n) = theta(h(n)),那么为什么 h(n) = theta(f(n)),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20733639/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com