आसान 0 हल किए गए 0% स्वीकृति

Pangram Check

A pangram contains every English letter at least once.

समस्या

A pangram contains every English letter at least once. Determine whether the text is a pangram. Ignore case, spaces, digits, and punctuation.

Implement pangram_check(text).

Input

text: The text to inspect.

Output

Return true if all 26 letters appear, otherwise false.

सीमाएँ

0 ≤ text length ≤ 100,000. Input contains printable ASCII characters. Only letters A–Z and a–z count.

उदाहरण

उदाहरण 1
इनपुट:
text = "The quick brown fox jumps over the lazy dog."

अपेक्षित आउटपुट:
expected = True
इनपुट:
std::string text = "The quick brown fox jumps over the lazy dog.";

अपेक्षित आउटपुट:
bool expected = true;
इनपुट:
string text = "The quick brown fox jumps over the lazy dog.";

अपेक्षित आउटपुट:
bool expected = true;

व्याख्या

Every letter from a through z appears at least once. Capital T counts as t.

उदाहरण 2
इनपुट:
text = "abcdefghijklmnopqrstuvwxy"

अपेक्षित आउटपुट:
expected = False
इनपुट:
std::string text = "abcdefghijklmnopqrstuvwxy";

अपेक्षित आउटपुट:
bool expected = false;
इनपुट:
string text = "abcdefghijklmnopqrstuvwxy";

अपेक्षित आउटपुट:
bool expected = false;

व्याख्या

This text contains a through y, but it has no z. One missing letter makes it false.

संदर्भ

यह चुनौती CodeUtility के लिए अनुकूलित की गई है। ऊपर दिए गए स्टेटमेंट और सीमाओं का पालन करें।

दूसरों से सीखें

समुदाय समाधान

अभी तक कोई प्रकाशित समाधान नहीं। पहला साझा करने के लिए इस चुनौती को हल करें।