27. 배열 원소의 길이

김해준's avatar
Dec 04, 2025
27. 배열 원소의 길이
문제
notion image
풀이
class Solution { public int[] solution(String[] strlist) { int[] answer = new int[strlist.length]; for(int i = 0 ; i < strlist.length;i++) { answer[i] = strlist[i].length(); } return answer; } }
notion image
Share article