문제링크 : https://school.programmers.co.kr/learn/courses/30/lessons/12919
class Solution {
public String solution(String[] seoul) {
int place = 0;
for(int i=0;i<seoul.length;i++)
{
if(seoul[i].equals("Kim"))
{
break;
}
place ++;
}
String answer = String.format("김서방은 %d에 있다", place);
return answer;
}
}