What’s the fastest way to find a name in a phone book?
- User
What’s the fastest way to find a name in a phone book?
Assistant
The fastest way to find a name in a phone book is to use binary search. You start by opening the phone book to the middle, see if the name you're looking for comes before or after that page alphabetically, then eliminate half the book and repeat the process with the remaining half. Each step cuts the search space in half, making it much faster than checking page by page.
For a phone book with 1,000 pages, you'd find any name in about 10 steps maximum, compared to potentially 1,000 steps with a linear page-by-page search.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.