🎨
CMMobileBook
  • CMoney Mobile Book
  • Git主題
    • Git 基本知識
    • Git 使用方法
    • Git Flow 開發方式
    • Commit Message 規則
    • GitLab + SSH key
    • 相關學習網站
    • 延伸 Bitbucket 操作
  • Scrum主題
    • Scrum 基本知識
  • 程式練習題
    • 前言
    • 物件導向練習
      • StopWatch
    • Foundation 程式練習
      • 合法回文-1 Valid Palindrome
      • Reformat Date
      • Day of the Year
      • Peak Index in a Mountain Array
      • Number of Days Between Two Dates
      • To lower case
      • Two Sum
      • Best Time to Buy and Sell Stock
      • Best Time to Buy and Sell Stock II
    • 條件邏輯練習
      • FizzBuzz
      • Single Number
      • Self Dividing Number
Powered by GitBook
On this page

Was this helpful?

  1. 程式練習題
  2. Foundation 程式練習

To lower case

PreviousNumber of Days Between Two DatesNextTwo Sum

Last updated 4 years ago

Was this helpful?

Implement function ToLowerCase() that has a string parameter str, and returns the same string in lowercase.

Example 1:

Input: "Hello"
Output: "hello"

Example 2:

Input: "here"
Output: "here"

Example 3:

Input: "LOVELY"
Output: "lovely"
To lower case 題目
Loading...LeetCode
Logo