How many comparisons

Report a typo

There is an array of integers:

{ 8, 19, 12, 7, 6, 5 }

How many comparisons do you need to find the value 6 using linear search? We suppose the algorithm starts from the left side.

Enter a number
___

Create a free account to access the full topic