mirror of
				https://gitee.com/coder-xiaomo/leetcode-problemset
				synced 2025-11-04 03:33:12 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			776 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			776 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
<p>给定一个字符串 <code>s</code> ,通过将字符串 <code>s</code> 中的每个字母转变大小写,我们可以获得一个新的字符串。</p>
 | 
						||
 | 
						||
<p>返回 <em>所有可能得到的字符串集合</em> 。以 <strong>任意顺序</strong> 返回输出。</p>
 | 
						||
 | 
						||
<p> </p>
 | 
						||
 | 
						||
<p><strong>示例 1:</strong></p>
 | 
						||
 | 
						||
<pre>
 | 
						||
<strong>输入:</strong>s = "a1b2"
 | 
						||
<strong>输出:</strong>["a1b2", "a1B2", "A1b2", "A1B2"]
 | 
						||
</pre>
 | 
						||
 | 
						||
<p><strong>示例 2:</strong></p>
 | 
						||
 | 
						||
<pre>
 | 
						||
<strong>输入:</strong> s = "3z4"
 | 
						||
<strong>输出:</strong> ["3z4","3Z4"]
 | 
						||
</pre>
 | 
						||
 | 
						||
<p> </p>
 | 
						||
 | 
						||
<p><strong>提示:</strong></p>
 | 
						||
 | 
						||
<ul>
 | 
						||
	<li><code>1 <= s.length <= 12</code></li>
 | 
						||
	<li><code>s</code> 由小写英文字母、大写英文字母和数字组成</li>
 | 
						||
</ul>
 |