0408. Valid Word Abbreviation
Description
**Input:** word = "internationalization", abbr = "i12iz4n"
**Output:** true
**Explanation:** The word "internationalization" can be abbreviated as "i12iz4n" ("i nternational iz atio n").**Input:** word = "apple", abbr = "a2e"
**Output:** false
**Explanation:** The word "apple" cannot be abbreviated as "a2e".ac
Last updated