A k-ary search tree where the node key is represented by it’s position in the tree

We can find all keys with a given prefix in a trie in time

Given a Trie and a string of length , we can return a pointer to the subtree associated with it in time.

Proof sketch

We traverse the Trie following the characters given by the prefix. Following a link is , and we have to follow links.