CodeCookbook

Trie

Prefix TreeO(k) search

A tree-shaped data structure for storing strings. Each path from root to an end-node spells a word.

·appletbatllndcant