Raven lays eight cards face down in a row. Each card has a made-up star name on the back.
"Find the card that says Lumen," she tells Rocket.
Rocket flips cards one at a time from the left. Raven keeps a tally of every flip.
"Seven flips!" Rocket says. "What do you notice if Lumen were first?"
Nova hums. "Here is a hint. Try hiding the target in different spots, and compare the tallies."
| Bonus recap statement | True or false? |
|---|---|
| Linear search checks items in order. | ? |
| The worst case for 8 cards is 4 flips. | ? |
| Checks equal the spot number plus 1. | ? |
| A missing target is a worst case. | ? |
Quest complete! Next week we learn a search that cuts the list in half every time.