LeetCode --- 2185. Counting Words With a Given Prefix 解题报告
Question:Youaregivenanarrayofstringswordsandastringpref.Returnthenumberofstringsinwordsthatcontainprefasaprefix.Aprefixofastringsisanyleadingcontiguoussubstringofs.Example1:Input:words=["pay","attenti