Computer scienceAlgorithms and Data StructuresIntro to algorithms and data structuresUnderstanding algorithms and complexity analysis

Best, average, and worst cases

Neither the best nor the worst

Report a typo

Suppose you have an algorithm whose time complexity is O(n)O(n) for all possible inputs and whose input size is nn. What would the average time complexity of such an algorithm be?

Select one option from the list
___

Create a free account to access the full topic