Skip to content

Commit 3adb66b

Browse files
committed
fix: add missing newlines at end of files
1 parent 8a7f76e commit 3adb66b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

contains-duplicate/kimyoung.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ console.log(containsDuplicate([1, 2, 3, 1])); // true
1010
console.log(containsDuplicate([1, 2, 3, 4])); // false
1111

1212
// space - O(n) - creating a set to store elements
13-
// time - O(n) - traverse through the array
13+
// time - O(n) - traverse through the array

number-of-1-bits/sun912.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ def hammingWeight(self, n: int) -> int:
1010
result += n % 2
1111
n = n//2
1212

13-
return result
13+
return result

palindromic-substrings/kimyoung.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ console.log(countSubstrings("a")); // 1
2626
console.log(countSubstrings("")); // 0
2727

2828
// space - O(1) - constant variable `result`
29-
// time - O(n^2) - iterating through the string and expanding both ways
29+
// time - O(n^2) - iterating through the string and expanding both ways

palindromic-substrings/wogha95.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ var countSubstrings = function(s) {
2929

3030
return true;
3131
}
32-
};
32+
};

0 commit comments

Comments
 (0)