News for hackers. Stuff that matters.
Re:Big O Notation – Explained as easily as possible by bonzini on Sunday January 17, 2021 @04:51AM (#25809485)
I mean you say "best case O(n)" if the best case is Theta(n), even though the algorithm may be quadratic on average.

You don't say the best case is O(n^2) if the best case is Theta(n log n) even though technically that would be correct.

There are no comments on this comment yet.