Skip to content

Commit 1078a65

Browse files
authored
Merge pull request #85 from front-studium/sgoldenbird
`week20` 풀었습니다.
2 parents 0157c22 + 6f11cdf commit 1078a65

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
function solution(n, numlist) {
2+
return numlist.filter((num) => num % n === 0);
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
function solution(s1, s2) {
2+
return s1.filter((el) => s2.includes(el)).length;
3+
}

0 commit comments

Comments
 (0)