🔍 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.
Search for:
Set Target
Target: 42
Click "Next Step" to start searching for 42.
0
Current Index
0
Comparisons
Unchecked
Checking
Checked
Found!
🔄 Reset
▶️ Next Step
⏩ Auto Play