1832. Check if the Sentence Is Pangram Solution 1 (time O(n), space O(1)) class Solution(object): def checkIfPangram(self, sentence): """ :type sentence: str :rtype: bool """ return all(c in sentence for c in "abcdefghijklmnopqrstuvwxyz")