Given a string s and an array of strings words, determine how many strings in words are stretchy.
A query string can be stretched to match s by extending groups of consecutive identical characters. A character group in the query word can be extended if the corresponding group in s has a length of at least s has a length less than
Return the total number of words in words that can be stretched to form s.
Constraints:
s.length, words.length
words[i].length
s and words[i] consist of lowercase English letters.
Given a string s and an array of strings words, determine how many strings in words are stretchy.
A query string can be stretched to match s by extending groups of consecutive identical characters. A character group in the query word can be extended if the corresponding group in s has a length of at least s has a length less than
Return the total number of words in words that can be stretched to form s.
Constraints:
s.length, words.length
words[i].length
s and words[i] consist of lowercase English letters.