@@ -0,0 +1,391 @@
+package leetcode;%0A%0A/**%0A * https://leetcode.com/problems/number-of-strings-that-appear-as-substrings-in-word/%0A */%0Apublic class Problem1967 %7B%0A    public int numOfStrings(String%5B%5D patterns, String word) %7B%0A        int answer = 0;%0A        for (String pattern : patterns) %7B%0A            if (word.contains(pattern)) %7B%0A                answer++;%0A            %7D%0A        %7D%0A        return answer;%0A    %7D%0A%7D%0A

Solve problem 1967