https://school.programmers.co.kr/learn/courses/30/lessons/120903
class Solution {
public int solution(String[] s1, String[] s2) {
int answer = 0;
for(int i = 0; i < s2.length; i++){
for(int j = 0; j < s1.length; j++){
if(s2[i].equals(s1[j])){ // ๋ฌธ์์ด์ด ๊ฐ์์ง ๋น๊ตํ ๋๋ .equals() ๋ฅผ ์ฌ์ฉ
answer++;
}
}
}
return answer;
}
}