✔ 문제
✔ 해결
class Solution {
public int solution(String s) {
String answer = "";
int number = 0;
String[] sArr = s.split("");
number = s.length() / 2;
if(s.length() % 2 == 0) {
answer = sArr[number -1] + sArr[number];
}else {
answer = sArr[number];
}
return answer;
}
}