g0701_0800.s0709_to_lower_case.readme.md Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of leetcode-in-java21 Show documentation
Show all versions of leetcode-in-java21 Show documentation
Java-based LeetCode algorithm problem solutions, regularly updated
709\. To Lower Case
Easy
Given a string `s`, return _the string after replacing every uppercase letter with the same lowercase letter_.
**Example 1:**
**Input:** s = "Hello"
**Output:** "hello"
**Example 2:**
**Input:** s = "here"
**Output:** "here"
**Example 3:**
**Input:** s = "LOVELY"
**Output:** "lovely"
**Constraints:**
* `1 <= s.length <= 100`
* `s` consists of printable ASCII characters.