2025-08-15 13:11:57 +0000 UTC
Check if the Sentence Is Pangram
Categories:
Links
Code
class Solution:
def checkIfPangram(self, sentence: str) -> bool:
freqs = [0] * 26
for char in sentence:
freqs[ord(char) - 97] += 1
return 0 not in freqs