[Python 3] Using Bit Manipulation
\nclass Solution:\n    def countConsistentStrings(self, allowed: str, words: List[str]) -> int:\n        pat = 0\n        for i in allowed:\n            pat |= 
```\nclass Solution:\n    def countConsistentStrings(self, allowed: str, words: List[str]) -> int:\n        pat = 0\n        for i in allowed:\n            pat |= 1<<(ord(i)-ord("a"))\n        ans = 0\n        for word in words:\n            temp = 0\n            for i in word:\n                temp |= 1<<(ord(i)-ord("a"))\n            if temp|pat==pat:\n                ans += 1\n        return ans\n\t```\n\t
['Bit Manipulation', 'Python3']