Pregunta de entrevista de Meta

easy leet code style problem solved with prefix trees