The Wayback Machine - https://web.archive.org/web/20200810163038/https://leetcode.com/problems/check-if-word-is-valid-after-substitutions/