DIY: Expressive words
Understand how to determine if words can be stretched to match a target string by extending character groups. Explore the expressive words problem to sharpen your problem-solving and coding interview skills.
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:
...