@@ -0,0 +1,519 @@
+package leetcode;%0A%0A/**%0A * https://leetcode.com/problems/to-lower-case/%0A */%0Apublic class Problem709 %7B%0A    public String toLowerCase(String str) %7B%0A        StringBuilder sb = new StringBuilder();%0A        int diff = 'a' - 'A';%0A        for (int i = 0; i %3C str.length(); i++) %7B%0A            if (str.charAt(i) %3E= 'A' && str.charAt(i) %3C= 'Z') %7B%0A                sb.append((char) (str.charAt(i) + diff));%0A            %7D else %7B%0A                sb.append(str.charAt(i));%0A            %7D%0A        %7D%0A        return sb.toString();%0A    %7D%0A%7D%0A

Solve problem 709