Linear Search — Step by Step Animation
Finding target 12 by checking each item one by one, from left to right, until we find it (or run out of items).
current (i)
already checked
found!
12
target
-
i
-1
found_index
Press Start to begin the search.