Valid Word Abbreviation
Given a word word and an abbreviation string abbr, determine whether abbr is a valid abbreviation of word.
An abbreviation may replace non-overlapping, nonempty substrings with their lengths ...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
