Longest Word With All Prefixes

给一个string组, 求是否有一个string的所有prefix都出现在组里. Trie找一下