r/computerscience • u/Significant_Virus142 • Sep 17 '26
Help Why use Big O notation?
If someone asks for big O time complexity of an algorithm but expects only the minimum of the possible big Os then is that even Big O notation anymore? cuz if the big o time complexity of an o(n) algorithm is asked then according to the condition of big O notation O(n square) would also be a valid answer
120
Upvotes
View all comments
Show parent comment
2
u/FireworksWorks Sep 17 '26
It became a convention since, for some cases a theta is not proven. But we can still talk about the TIGHTEST upper bound, meaning the lowest upperbound we know of (which might be the theta, but also might not be).
So since researchers did this through out the years, it has become the convention for daily speak about Big O