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.
0.0001*2^n + 10 * n^2 + 10000 * log(n) + 10000000
我们看最高指数幂吗?
这个的大 O 是 O(n^2)?我对吗?
不,2^n尽管系数很小,但它会主导其他一切。
2^n