- [Basic Operation] The most time-consuming operation in the innermost loop. Among the four operations of addition, subtraction, multiplication and division, division is the most time-consuming, followed by multiplication, and addition and subtraction are generally considered uniformly.
- 由于 l o g a n = l o g a b l o g b n log_a^n=log_a^blog_b^n logan=logablogbn, So the base of the logarithm is often ignored in algorithm analysis, written as logn lognl o g n .
- [Worst efficiency] When the input scale is n, the efficiency of the algorithm in the worst case is the longest running time compared to other input instances of scale n.
- [Optimal efficiency] When the input scale is n, the efficiency of the algorithm in the optimal situation is the shortest running time compared to other input instances of scale n.
- [Sign OOThe】
- 【Symbol Ω ΩΩ】
- 【Symbol Θ ΘΘ】
- 【theorem】
- [Compare the number of increases with the limit]
- 【Growth Type】
- 【About Logarithm】
- 【About Σ ΣΣSummation】
- 【Master Theorem】
- 【Characteristic equation method】
[Algorithm] Notes for Chapter 2
Guess you like
Origin blog.csdn.net/weixin_44246009/article/details/108189952
Recommended
Ranking