Trie vs Hash Table
Hash table: better for exact membership and key-value lookup.
Trie: better for prefix search and autocomplete.
Hash table usually has lower structural memory overhead.
Trie can share common prefixes between strings.
Choice depends on workload, memory constraints, and query patterns.