Replace Words

Solve Replace Words.

Examples
Input: []
Output: 0
Hints

Replace Words

Solve **Replace Words**. This entry was scaffolded in Trie Mastery migration and should be refined with full statement/examples.