VISUALGO//SEARCH
linear search · array trace console · O(n)
Goal:Find the target value 7 by checking each element from left to right.
22
085
132
262
340
482
512
616
733
872
973
1096
11▲
L▲
RELEMENTS
TARGET
READOUT
step0 / 25
comparisons0
result—
statusIDLE