Best Case
The luckiest input — Ω(1) for linear search.
INSTRUCTION
MEMORY
CONSOLE
MEMORY — every variable is a labeled box
(empty — no variables created yet)
CONSOLE — what the program says back
>▍ nothing printed yet
The luckiest input — Ω(1) for linear search.
MEMORY — every variable is a labeled box
CONSOLE — what the program says back