|
|
|
|
|
by j2kun
2931 days ago
|
|
Big-O typically refers to worst case when people discuss algorithms, but its definition has nothing to do with runtime, or even algorithms, at all. It was invented by mathematicians decades before computers existed. It's also more nuanced than the inequality in your correction. It's a statement about limits of functions. |
|
The implicit default of "worst-case running time" (in the context of algorithm) may actually be the source of errors like the one made in the video. For what its worth, I actually think the lim sup definition is easier because its fewer things to memorize.