Tries and typeahead

A user types 'how t' and, before they type the next letter, sees 'how to tie a tie'. Suggestions must appear within about a hundred milliseconds of the user pausing, from billions of past searches. What structure makes that possible?

In this lesson you'll learn to

Create a free account to open this lesson

It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.