Difference between Big-O and Little-O Notation
问题 What is the difference between Big-O notation O(n) and Little-O notation o(n) ? 回答1: f ∈ O(g) says, essentially For at least one choice of a constant k > 0, you can find a constant a such that the inequality 0 <= f(x) <= k g(x) holds for all x > a. Note that O(g) is the set of all functions for which this condition holds. f ∈ o(g) says, essentially For every choice of a constant k > 0, you can find a constant a such that the inequality 0 <= f(x) < k g(x) holds for all x > a. Once again, note