mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-13 11:21:42 +08:00
add leetcode problem-cn part2
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<p>输入一个字符串,打印出该字符串中字符的所有排列。</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>你可以以任意顺序返回这个字符串数组,但里面不能有重复元素。</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><strong>示例:</strong></p>
|
||||
|
||||
<pre><strong>输入:</strong>s = "abc"
|
||||
<strong>输出:[</strong>"abc","acb","bac","bca","cab","cba"<strong>]</strong>
|
||||
</pre>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><strong>限制:</strong></p>
|
||||
|
||||
<p><code>1 <= s 的长度 <= 8</code></p>
|
Reference in New Issue
Block a user