Skip to content

Commit 3274855

Browse files
committed
modify: insert empty line for readability
1 parent cbebb81 commit 3274855

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

3sum/anniemon.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@
1212
*/
1313
var threeSum = function (nums) {
1414
nums.sort((a, b) => a - b);
15-
const res = [];
1615

16+
const res = [];
1717
for (let i = 0; i < nums.length; i++) {
1818
if (i > 0 && nums[i] === nums[i - 1]) {
1919
continue;
2020
}
21+
2122
let l = i + 1;
2223
let r = nums.length - 1;
2324
while (l < r) {

0 commit comments

Comments
 (0)