Skip to content

Commit

Permalink
배열의 유사도
Browse files Browse the repository at this point in the history
  • Loading branch information
dudwns committed Mar 23, 2023
1 parent 0916454 commit 54302be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Programmers/exam23.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
function solution(s1, s2) {
return s1.filter((v) => s2.includes(v)).length;
}

0 comments on commit 54302be

Please sign in to comment.