mirror of
				https://gitee.com/coder-xiaomo/leetcode-problemset
				synced 2025-11-04 19:53:12 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			538 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			538 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
<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>
 |