Skip to content

Tries

A tree of prefixes: autocomplete, word search and spell-check in one shape.

Start the module

1. Trie Basics · 5 min

0 of 4 lessons · 0% complete

Start module

Tries visualizer

Every lesson in this module opens with an animation you can step through. This is the first one — Trie Basics: Store words by their letters so shared prefixes are stored once.

Trie Basics

Step 1 of 10

An empty trie is one root node. Every word starts its path here.

Lessons
4
Minutes
20
Problems
12
Concepts
6

Quiz yourself: 3 questions from this module

1 / 3

What does one edge of a trie represent?