1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-11 02:58:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode-cn/problem (Chinese)/判断句子是否为全字母句 [check-if-the-sentence-is-pangram].html

32 lines
943 B
HTML
Raw Normal View History

2022-03-27 20:45:09 +08:00
<p><strong>全字母句</strong> 指包含英语字母表中每个字母至少一次的句子。</p>
<p>给你一个仅由小写英文字母组成的字符串 <code>sentence</code> ,请你判断 <code>sentence</code> 是否为 <strong>全字母句</strong></p>
<p>如果是,返回<em> </em><code>true</code> ;否则,返回<em> </em><code>false</code></p>
<p> </p>
<p><strong>示例 1</strong></p>
<pre>
<strong>输入:</strong>sentence = "thequickbrownfoxjumpsoverthelazydog"
<strong>输出:</strong>true
<strong>解释:</strong><code>sentence</code> 包含英语字母表中每个字母至少一次。
</pre>
<p><strong>示例 2</strong></p>
<pre>
<strong>输入:</strong>sentence = "leetcode"
<strong>输出:</strong>false
</pre>
<p> </p>
<p><strong>提示:</strong></p>
<ul>
<li><code>1 <= sentence.length <= 1000</code></li>
<li><code>sentence</code> 由小写英语字母组成</li>
</ul>