Comment

Comment by tsimionescu

No, this is a common misconception. Big O notation just represents a class of functions, it has nothing to do with complexity analysis, except for being very popular in the field. Whether an algorithm has O(N) worse case runtime or O(N) best case runtime or O(N) typical case runtime are all valid questions.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton