@@ -0,0 +1,672 @@
+package leetcode;%0A%0A/**%0A * https://leetcode.com/problems/maximum-number-of-words-you-can-type/%0A */%0Apublic class Problem1935 %7B%0A    public int canBeTypedWords(String text, String brokenLetters) %7B%0A        String%5B%5D words = text.split(%22 %22);%0A        int answer = 0;%0A        for (String word : words) %7B%0A            boolean brokenWord = false;%0A            for (char letter : brokenLetters.toCharArray()) %7B%0A                if (word.contains(Character.toString(letter))) %7B%0A                    brokenWord = true;%0A                    break;%0A                %7D%0A            %7D%0A            if (!brokenWord) %7B%0A                answer++;%0A            %7D%0A        %7D%0A        return answer;%0A    %7D%0A%7D%0A

Solve problem 1935