Skip to content

Commit

Permalink
Merge pull request #334 from DaleSeo/main
Browse files Browse the repository at this point in the history
ํŒŒ์ผ ๋งˆ์ง€๋ง‰ ๋ผ์ธ ๋ธŒ๋ ˆ์ดํฌ ๋ˆ„๋ฝ ์ž๋™ ๊ฐ์ง€ + ๋ผ์ธ ๋ธŒ๋ ˆ์ดํฌ ์ถ”๊ฐ€ ์ˆ˜์ •
  • Loading branch information
dev-jonghoonpark authored Aug 17, 2024
2 parents 226a07a + 3adb66b commit 6639ebc
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 4 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: ๐Ÿ”„ Integration

on:
pull_request:

jobs:
linelint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: fernandrone/[email protected]
18 changes: 18 additions & 0 deletions .linelint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 'true' will fix files
autofix: false

# list of paths to ignore, uses gitignore syntaxes (executes before any rule)
ignore:
- "*.md"

rules:
# checks if file ends in a newline character
end-of-file:
# set to true to enable this rule
enable: true

# set to true to disable autofix (if enabled globally)
disable-autofix: false

# if true also checks if file ends in a single newline character
single-new-line: false
2 changes: 1 addition & 1 deletion contains-duplicate/kimyoung.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ console.log(containsDuplicate([1, 2, 3, 1])); // true
console.log(containsDuplicate([1, 2, 3, 4])); // false

// space - O(n) - creating a set to store elements
// time - O(n) - traverse through the array
// time - O(n) - traverse through the array
2 changes: 1 addition & 1 deletion number-of-1-bits/sun912.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ def hammingWeight(self, n: int) -> int:
result += n % 2
n = n//2

return result
return result
2 changes: 1 addition & 1 deletion palindromic-substrings/kimyoung.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ console.log(countSubstrings("a")); // 1
console.log(countSubstrings("")); // 0

// space - O(1) - constant variable `result`
// time - O(n^2) - iterating through the string and expanding both ways
// time - O(n^2) - iterating through the string and expanding both ways
2 changes: 1 addition & 1 deletion palindromic-substrings/wogha95.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ var countSubstrings = function(s) {

return true;
}
};
};

0 comments on commit 6639ebc

Please sign in to comment.