DIY: Expressive words
Explore how to identify and count stretchy words based on a given string using Elixir. Learn to implement rules that extend groups of continuous characters to solve real coding interview challenges relevant to companies like Facebook. This lesson helps you build skills in string processing and algorithm development within a coding interview context.
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:
...