mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-12 19:01:47 +08:00
更新国内版力扣题目描述变更
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
<p>Given two strings,write a method to decide if one is a permutation of the other.</p>
|
||||
|
||||
<p><strong>Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input: </strong><code>s1</code> = "abc", <code>s2</code> = "bca"
|
||||
<strong>Output: </strong>true
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input: </strong><code>s1</code> = "abc", <code>s2</code> = "bad"
|
||||
<strong>Output: </strong>false
|
||||
</pre>
|
||||
|
||||
<p><strong>Note:</strong></p>
|
||||
|
||||
<ol>
|
||||
<li><code>0 <= len(s1) <= 100 </code></li>
|
||||
<li><code>0 <= len(s2) <= 100</code></li>
|
||||
</ol>
|
||||
<p>Given two strings,write a method to decide if one is a permutation of the other.</p>
|
||||
|
||||
|
||||
|
||||
<p><strong>Example 1:</strong></p>
|
||||
|
||||
|
||||
|
||||
<pre>
|
||||
|
||||
<strong>Input: </strong><code>s1</code> = "abc", <code>s2</code> = "bca"
|
||||
|
||||
<strong>Output: </strong>true
|
||||
|
||||
</pre>
|
||||
|
||||
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user