✅ [Java] Simple, faster than 100% (5ms)
\npublic int countConsistentStrings(String allowed, String[] words) {\n\tint count = words.length;\n\tint[] store = new int[26];\n\n\tfor (char c : allowed.toCh
```\npublic int countConsistentStrings(String allowed, String[] words) {\n\tint count = words.length;\n\tint[] store = new int[26];\n\n\tfor (char c : allowed.toCharArray()){\n\t\tstore[c-\'a\']++;\n\t}\n\n\tfor (String word : words) {\n\t\t\n\t\tfor (char c : word.toCharArray()) {\n\t\t\tif (store[c-\'a\'] <= 0){\n\t\t\t\tcount--;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\treturn count;\n}\n```
['Java']