Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Design Add and Search Words Data Structure

MediumLeetCode 211 ↗

The problem, in one line. Build a word collection where you can add a word and search for a word, and a dot in the search pattern stands for any one letter. LeetCode 211.

The tell. Words stored and searched one by one, plus a wildcard that can sit anywhere. A hash set cannot answer “some letter here”, but a trie can try every road out of a stop.

Included with a plan

This solution is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.