Quizzr Logo
Logarithmic Time O(log n)
01

The Big Idea

Key Concept

The Phone Book Trick

  • Imagine finding a name in a thick phone book.
  • You don't start at the first page and read every name.
  • You open the middle, see if the name is before or after, and ignore the other half.
  • By repeating this, you find the person in seconds.
1 / 6

We use cookies

Necessary cookies keep the site working. Analytics and ads help us improve and fund Quizzr. You can manage your preferences.