复杂度 一些算法的时间复杂度 concepts Big-O:定义了函数f(n)的渐进上界(upper bound) Big-Omega(Ω):定义了f(n)的渐进下界(lower bound) Big-Theta(Θ):定义了f(n)的渐进上界和渐进下界(upper and lower bound) Stirling’s approximation(斯特林公式):用于取n!的近似值 算术运算 Problems