File tree 2 files changed +18
-1
lines changed
2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 1
- # 1,398 LeetCode solutions in JavaScript
1
+ # 1,399 LeetCode solutions in JavaScript
2
2
3
3
[ https://leetcodejavascript.com ] ( https://leetcodejavascript.com )
4
4
542
542
705|[ Design HashSet] ( ./solutions/0705-design-hashset.js ) |Easy|
543
543
706|[ Design HashMap] ( ./solutions/0706-design-hashmap.js ) |Easy|
544
544
707|[ Design Linked List] ( ./solutions/0707-design-linked-list.js ) |Medium|
545
+ 709|[ To Lower Case] ( ./solutions/0709-to-lower-case.js ) |Easy|
545
546
710|[ Random Pick with Blacklist] ( ./solutions/0710-random-pick-with-blacklist.js ) |Hard|
546
547
712|[ Minimum ASCII Delete Sum for Two Strings] ( ./solutions/0712-minimum-ascii-delete-sum-for-two-strings.js ) |Medium|
547
548
713|[ Subarray Product Less Than K] ( ./solutions/0713-subarray-product-less-than-k.js ) |Medium|
Original file line number Diff line number Diff line change
1
+ /**
2
+ * 709. To Lower Case
3
+ * https://leetcode.com/problems/to-lower-case/
4
+ * Difficulty: Easy
5
+ *
6
+ * Given a string s, return the string after replacing every uppercase letter with the same
7
+ * lowercase letter.
8
+ */
9
+
10
+ /**
11
+ * @param {string } s
12
+ * @return {string }
13
+ */
14
+ var toLowerCase = function ( s ) {
15
+ return s . toLowerCase ( ) ;
16
+ } ;
You can’t perform that action at this time.
0 commit comments