Class Solution
java.lang.Object
g1801_1900.s1832_check_if_the_sentence_is_pangram.Solution
1832 - Check if the Sentence Is Pangram.<p>Easy</p>
<p>A <strong>pangram</strong> is a sentence where every letter of the English alphabet appears at least once.</p>
<p>Given a string <code>sentence</code> containing only lowercase English letters, return <code>true</code> <em>if</em> <code>sentence</code> <em>is a <strong>pangram</strong> , or</em> <code>false</code> <em>otherwise.</em></p>
<p><strong>Example 1:</strong></p>
<p><strong>Input:</strong> sentence = “thequickbrownfoxjumpsoverthelazydog”</p>
<p><strong>Output:</strong> true</p>
<p><strong>Explanation:</strong> sentence contains at least one of every letter of the English alphabet.</p>
<p><strong>Example 2:</strong></p>
<p><strong>Input:</strong> sentence = “leetcode”</p>
<p><strong>Output:</strong> false</p>
<p><strong>Constraints:</strong></p>
<ul>
<li><code>1 <= sentence.length <= 1000</code></li>
<li><code>sentence</code> consists of lowercase English letters.</li>
</ul>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Solution
public Solution()
-
-
Method Details
-
checkIfPangram
-