Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8016e6c

Browse files
committedApr 20, 2025
Add solution #709
1 parent 0532f33 commit 8016e6c

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed
 

‎README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 1,398 LeetCode solutions in JavaScript
1+
# 1,399 LeetCode solutions in JavaScript
22

33
[https://leetcodejavascript.com](https://leetcodejavascript.com)
44

@@ -542,6 +542,7 @@
542542
705|[Design HashSet](./solutions/0705-design-hashset.js)|Easy|
543543
706|[Design HashMap](./solutions/0706-design-hashmap.js)|Easy|
544544
707|[Design Linked List](./solutions/0707-design-linked-list.js)|Medium|
545+
709|[To Lower Case](./solutions/0709-to-lower-case.js)|Easy|
545546
710|[Random Pick with Blacklist](./solutions/0710-random-pick-with-blacklist.js)|Hard|
546547
712|[Minimum ASCII Delete Sum for Two Strings](./solutions/0712-minimum-ascii-delete-sum-for-two-strings.js)|Medium|
547548
713|[Subarray Product Less Than K](./solutions/0713-subarray-product-less-than-k.js)|Medium|

‎solutions/0709-to-lower-case.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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+
};

0 commit comments

Comments
 (0)
Please sign in to comment.