Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人可以帮助我使用 Big O(1) 但不是 Ω(1) 的函数吗?反之亦然?一些解释会很有帮助。
Big-O 表示 <= 而大 Omega 表示 >=,因此 O(1) 而不是 Omega(1) 的函数是 f(n) = 1/n。相反,f(n) = n 有效。