Jaydi said:
That's why the notation x=O(n) is not so efficient and shouldn't be used. You should say that x= n h(n) with h(n) tending to a constant when n is getting large. |
Technically h(n) would not be tending to a constant — in typical usage it would be bounded by a constant but not convergent.
To be fair, the Landau notation was invented precisely for its efficiency. If I'm adding together 50 error terms of size O(n) it is a major inconvenience to have to give each of them a separate name, especially as this draws attention away from the main term. Despite its flaws I definitely think it should be used, it's just not for beginners.







