Package g0701_0800.s0709_to_lower_case
Class Solution
java.lang.Object
g0701_0800.s0709_to_lower_case.Solution
709 - To Lower Case.<p>Easy</p>
<p>Given a string <code>s</code>, return <em>the string after replacing every uppercase letter with the same lowercase letter</em>.</p>
<p><strong>Example 1:</strong></p>
<p><strong>Input:</strong> s = “Hello”</p>
<p><strong>Output:</strong> “hello”</p>
<p><strong>Example 2:</strong></p>
<p><strong>Input:</strong> s = “here”</p>
<p><strong>Output:</strong> “here”</p>
<p><strong>Example 3:</strong></p>
<p><strong>Input:</strong> s = “LOVELY”</p>
<p><strong>Output:</strong> “lovely”</p>
<p><strong>Constraints:</strong></p>
<ul>
<li><code>1 <= s.length <= 100</code></li>
<li><code>s</code> consists of printable ASCII characters.</li>
</ul>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Solution
public Solution()
-
-
Method Details
-
toLowerCase
-