DIY: Expressive Words
Explore the concept of stretchy words by implementing a function that counts how many words in a list can be extended to match a target string. Understand the rules of character group extension and apply string manipulation skills relevant to coding interview scenarios.
We'll cover the following...
We'll cover the following...
Problem statement
Given a string, S, and a list of words, return the number of words that are stretchy.
A word in words is stretchy with respect to S if S can be derived by extending the letters of the word. Here is the extend rule:
...