Medium · Tries

Implement Trie (Prefix Tree)

Implement prefix-tree operations for inserting and finding words.

Implement Trie (Prefix Tree) memory room
Under the lens the closed box springs open and the drawer around it re-nests into a second word sharing every drawer so far. — Shared prefix means shared drawers.

Retrieval check

With the notes hidden, what pattern should this room bring back?

Related free rooms