mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-13 11:21:42 +08:00
存量题库数据更新
This commit is contained in:
@@ -13,14 +13,16 @@
|
||||
|
||||
<p><strong>示例 1:</strong></p>
|
||||
|
||||
<pre><b>输入:</b>word = "abcc"
|
||||
<pre>
|
||||
<b>输入:</b>word = "abcc"
|
||||
<b>输出:</b>true
|
||||
<b>解释:</b>选择下标 3 并删除该字母,word 变成 "abc" 且每个字母出现频率都为 1 。
|
||||
<b>解释:</b>选择下标 3 并删除该字母:word 变成 "abc" 且每个字母出现频率都为 1 。
|
||||
</pre>
|
||||
|
||||
<p><strong>示例 2:</strong></p>
|
||||
|
||||
<pre><b>输入:</b>word = "aazz"
|
||||
<pre>
|
||||
<b>输入:</b>word = "aazz"
|
||||
<b>输出:</b>false
|
||||
<b>解释:</b>我们必须删除一个字母,所以要么 "a" 的频率变为 1 且 "z" 的频率为 2 ,要么两个字母频率反过来。所以不可能让剩余所有字母出现频率相同。
|
||||
</pre>
|
||||
|
Reference in New Issue
Block a user