Trie
Insert a string of length L: O(L).
Search a string of length L: O(L).
Prefix search: O(P), excluding output traversal.
Performance depends on alphabet representation and memory usage.
Tries are especially effective for autocomplete and prefix queries.