Загрузка...

LeetCode 709 | To Lower Case Explained Step by Step (C++)

🚀 About Me

I’m a Computer Engineering student and an aspiring full stack developer.
I solve LeetCode problems regularly and explain them in a simple, beginner-friendly way to improve problem-solving skills step by step.

🧠 Question Details

Question Number: 709
Question Name: To Lower Case

📖 Problem Explanation

In this problem, we are given a string and we need to convert all uppercase letters into lowercase.

👉 If a character is already lowercase, it remains unchanged
👉 Only uppercase letters are converted

🧩 Example

Input:
"Hello"

Output:
"hello"

💡 Approach
Traverse the string character by character
Convert each character to lowercase
Update the string

👉 Time Complexity: O(n)
👉 Space Complexity: O(1)

💻 Code Used in This Video

You can find the complete solution here:
👉 https://github.com/jaintulya/leet-code-question

🔗 Links

LinkedIn: https://www.linkedin.com/in/tulya-jain-b84827372/

LeetCode Profile: https://leetcode.com/u/o08s0tJtFp/

GitHub Profile: https://github.com/jaintulya

Видео LeetCode 709 | To Lower Case Explained Step by Step (C++) канала Tulya Jain
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять