🧩 Puzzle · Apply Linear Search
Scan it
The boxes are closed — you can't see the numbers. To find your target you have to open them one at a time, left to right, until you hit it. No skipping ahead: you only know what's in a box once you've checked it. That patient one-at-a-time scan is linear search.
looking for:7
[0][1][2][3][4][5][6][7]
Find 7. You can't see inside the boxes — check them one at a time, left to right.
Boxes are opaque — only a check reveals the value. One at a time, in order.clean scan