LeetCode #1832

Check if the Sentence Is Pangram

1개의 풀이 · Python

문제 원문 보기 ↗

SOLUTION INFO

Python · main.py

main.py
class Solution:
    def checkIfPangram(self, sentence: str, chk=0) -> bool:
        return [chk:=chk|1<<(ord(x)-97)for x in sentence]and chk==67108863

SOLUTION DESCRIPTION

풀이 설명

등록된 풀이 설명이 없습니다.