Valid Word Abbreviation
Valid Word Abbreviation
Given a lowercase English string word and a string abbr, determine whether abbr is a valid abbreviation of word.
Letters in the abbreviation must match the corresp...
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:
