Asymptotic lower bounding does not work. Why?
问题 Ok so this is not a homework question obviously, but here is the thing: The bubble sort algorithm is said to be O(n^2), Ω(n). However, if we plot its time complexity as a graph (average case), and try to lower bound it, a more accurate lower bound would be Ω(n^2). However contextually we see that Ω(n) is correct. So why does lower bounding the algorithm's runtime does not work? 回答1: I think you're mixing up concepts: Lower bound vs upper bound: Ω(f(n)) is a lower bound, and O(f(n)) is an