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-java Show documentation
Show all versions of leetcode-in-java Show documentation
Java-based LeetCode algorithm problem solutions, regularly updated
The newest version!
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.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy