🔍 Linear Search

Search by checking each element one by one

How it works: Start at index 0 and check each element sequentially until the target is found or the end of the array is reached. Time Complexity: O(n) — in the worst case, we check every element.
Target: 42
Click "Next Step" to start searching for 42.
0
Current Index
0
Comparisons
Unchecked
Checking
Checked
Found!