Given a string s and an array of strings words, determine if s is a prefix string of words.
A string s is a prefix string of words if it can be formed by concatenating the first words sequentially, where words.length.
Return true if s is a prefix string of words, or false otherwise.
Constraints:
words.length
words[i].length
s.length
words[i] and s consist of only lowercase English letters.
Given a string s and an array of strings words, determine if s is a prefix string of words.
A string s is a prefix string of words if it can be formed by concatenating the first words sequentially, where words.length.
Return true if s is a prefix string of words, or false otherwise.
Constraints:
words.length
words[i].length
s.length
words[i] and s consist of only lowercase English letters.