We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d573d7a commit 77df3c8Copy full SHA for 77df3c8
1 file changed
2025-08-22/김태민/프로그래머스_서울에서김서방찾기.java
@@ -0,0 +1,13 @@
1
+class Solution {
2
+ public String solution(String[] seoul) {
3
+ String answer = "";
4
+ int num = 0;
5
+ for (int i = 0; i < seoul.length; i++) {
6
+ if (seoul[i].equals("Kim")) {
7
+ num = i;
8
+ }
9
10
+
11
+ return "김서방은 " + num + "에 있다";
12
13
+}
0 commit comments