Python using Set
Python using Set theory. \n\n\ndef countConsistentStrings(self, allowed: str, words: List[str]) -> int:\n    count = 0\n    allowed = set(allowed)\n    for word
Python using Set theory. \n\n```\ndef countConsistentStrings(self, allowed: str, words: List[str]) -> int:\n    count = 0\n    allowed = set(allowed)\n    for word in words:\n        word = set(word)\n        if len(word.difference(allowed)) > 0:\n            count += 1\n    return len(words) - count\n```
[]