Extra Characters in a String

Solve Extra Characters in a String.

Examples
Input: []
Output: 0
Hints

Extra Characters in a String

Solve **Extra Characters in a String**. This entry was scaffolded in Trie Mastery migration and should be refined with full statement/examples.