Build a word dictionary with add(word) and query(prefix), which returns every stored word starting with the prefix.
Build a word dictionary with add(word) and query(prefix), which returns every stored word starting with the prefix.
The discussion opens with the full question.