LeetCode

Check If Word Is Valid After Substitutions

Click here for an explanation.