1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-10-13 01:15:14 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2025-09-29 14:43:44 +08:00
parent 2862a227c4
commit 13f2098086
4409 changed files with 168933 additions and 166256 deletions

View File

@@ -2,8 +2,8 @@
<ul>
<li>全部字母都是大写,比如 <code>"USA"</code></li>
<li>单词中所有字母都不是大写,比如 <code>"leetcode"</code></li>
<li>如果单词不只含有一个字母,只有首字母大写,&nbsp;比如&nbsp;<code>"Google"</code></li>
<li>所有字母都不是大写,比如 <code>"leetcode"</code></li>
<li>只有首字母大写,&nbsp;比如&nbsp;<code>"Google"</code></li>
</ul>
<p>给你一个字符串 <code>word</code> 。如果大写用法正确,返回 <code>true</code> ;否则,返回 <code>false</code></p>