Longest Word With All Prefixes

Solve Longest Word With All Prefixes.

Examples
Input: []
Output: 0
Hints

Longest Word With All Prefixes

Solve **Longest Word With All Prefixes**. This entry was scaffolded in Trie Mastery migration and should be refined with full statement/examples.