bruteforce | easy understanding
\nclass Solution {\n    public int countConsistentStrings(String allowed, String[] words) {\n        int count = 0;\n        for(int i=0;i<words.length;i++){\n 
```\nclass Solution {\n    public int countConsistentStrings(String allowed, String[] words) {\n        int count = 0;\n        for(int i=0;i<words.length;i++){\n            String s = words[i];\n            boolean flag = true;\n            for(int j=0;j<s.length();j++){\n                if(!allowed.contains(""+s.charAt(j))){\n                    flag = false;\n                    break;\n                }\n            }\n            \n            if(flag){\n                count++;\n            }\n            \n        }\n        return count;\n    }\n} \n```
['Java']