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

Best, average, and worst cases

Can it get worse?

Report a typo

Given a sequence of integers, as below:

5 3 2 7 1 9 6

Consider an algorithm that searches for an integer from left to right and scans the elements one by one. Assume you use this algorithm to find the element 66 in the table. What kind of case is it, in terms of algorithm's performance?

Select one option from the list
___

Create a free account to access the full topic