r/AskComputerScience • u/Leading-Fail-7263 • Apr 10 '26
What is average case complexity?
the average-case complexity of an algorithm is the amount of some computational resource (typically time) used by the algorithm, averaged over all possible inputs.
Aren't there infinite possible inputs? How does that make sense?
4
Upvotes
View all comments
Show parent comment
1
u/Leading-Fail-7263 Apr 10 '26
Thanks! No worries!