Pergunta de entrevista da empresa Datadog

Implement a data structure that allows for quick searching of words.