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.
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.
Create a free account to access the full topic