Example 1
Example 2
1 <= wordsContainer.length, wordsQuery.length <= 1041 <= wordsContainer[i].length <= 5 * 1031 <= wordsQuery[i].length <= 5 * 103wordsContainer[i] consists only of lowercase English letters.wordsQuery[i] consists only of lowercase English letters.Sum of wordsContainer[i].length is at most 5 * 105.Sum of wordsQuery[i].length is at most 5 * 105.Example 1
Example 2
1 <= wordsContainer.length, wordsQuery.length <= 1041 <= wordsContainer[i].length <= 5 * 1031 <= wordsQuery[i].length <= 5 * 103wordsContainer[i] consists only of lowercase English letters.wordsQuery[i] consists only of lowercase English letters.Sum of wordsContainer[i].length is at most 5 * 105.Sum of wordsQuery[i].length is at most 5 * 105.