Minimum Cost to Convert String II

Solve Minimum Cost to Convert String II.

Examples
Input: []
Output: 0
Hints

Minimum Cost to Convert String II

Solve **Minimum Cost to Convert String II**. This entry was scaffolded in Trie Mastery migration and should be refined with full statement/examples.