Please enable JavaScript to use CodeHS

Chapter 7


7.5 Searching

Linear Search

Implementing Linear Search

Linear Search

Check Your Understanding

  1. Incorrect Correct No Answer was selected Invalid Answer

Exercise: Linear Search on ArrayList with While Loop


Term Definition
Linear Search An algorithm that searches data sets in a sequential order, checking each value from the 0th index to the end of the data set to see what index a specific element can be located at.