Class Solution
java.lang.Object
g0701_0800.s0784_letter_case_permutation.Solution
784 - Letter Case Permutation.<p>Medium</p>
<p>Given a string <code>s</code>, you can transform every letter individually to be lowercase or uppercase to create another string.</p>
<p>Return <em>a list of all possible strings we could create</em>. Return the output in <strong>any order</strong>.</p>
<p><strong>Example 1:</strong></p>
<p><strong>Input:</strong> s = “a1b2”</p>
<p><strong>Output:</strong> [“a1b2”,“a1B2”,“A1b2”,“A1B2”]</p>
<p><strong>Example 2:</strong></p>
<p><strong>Input:</strong> s = “3z4”</p>
<p><strong>Output:</strong> [“3z4”,“3Z4”]</p>
<p><strong>Constraints:</strong></p>
<ul>
<li><code>1 <= s.length <= 12</code></li>
<li><code>s</code> consists of lowercase English letters, uppercase English letters, and digits.</li>
</ul>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Solution
public Solution()
-
-
Method Details
-
letterCasePermutation
-
helper
-