Worst-case duration

Report a typo

An array of integers is given:

[ 8, 19, 12, 7, 6, 5 ]

How many comparison operations will the linear search algorithm have to perform in the worst case?

Enter a number
___

Create a free account to access the full topic