These Time complexity之间的时间复杂度差异

huangapple go评论61阅读模式
英文:

difference between these Time complexity

问题

O(N Log^2N)与O(N LogLogN)时间复杂度之间的区别是什么?我不理解它们之间的差异。

英文:

what is difference between O(N Log^2N) and O(N LogLogN) time complexity?

I can't understand whats the difference?

答案1

得分: 0

第一个意味着对 n 的对数进行平方。第二个意味着取 n 的对数的对数,即

O(n * log(n) * log(n))

对比

O(n * log(log(n)))
英文:

The first one means squaring the log of n. The second means taking the log of the log of n, i.e.

O( n * log(n) * log(n) )

vs.

O( n * log(log(n)) )

huangapple
  • 本文由 发表于 2023年4月6日 20:19:44
  • 转载请务必保留本文链接:https://go.coder-hub.com/75949438.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定