Learn
Practice
Newsletter
Resources
Animations
New
F
Toggle theme
0
F
0
Toggle menu
← Back to All Animations
Word Pattern
Bookmark
Input
Match
Letter clash
One letter, many words
One word, many letters
Custom
pattern
=
abba
,
s
=
dog cat cat dog
pat
s
a
b
b
a
dog
cat
cat
dog
0
1
2
3
map
(no bindings yet)
build a two-way letter ⇄ word mapping as you scan
algo
master
.
io
Step:
Each letter must map to exactly one word, and each word back to one letter
0 / 19
Input
Match
Letter clash
One letter, many words
One word, many letters
Custom
pattern
=
abba
,
s
=
dog cat cat dog
0 / 19
pat
s
a
b
b
a
dog
cat
cat
dog
0
1
2
3
map
(no bindings yet)
build a two-way letter ⇄ word mapping as you scan
algo
master
.
io
Step:
Each letter must map to exactly one word, and each word back to one letter