Skip to content

Glossary: Data Structures and Algorithms in JavaScript

Linear search

Also written: linear

Checking items one by one from the start until you find the target. It is O(n).

Where the book teaches it

Related terms

Binary searchWorst case