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
2022-03-29 12:43:11 +08:00

32 lines
943 B
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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>