Search posts...
class Solution { public int solution(String message) { int answer = 0; // 문자열의 길이 구하기 int stringLength = message.length(); if (stringLength >= 1 && stringLength <= 50) { answer = stringLength * 2; } return answer; } }
Nakyeom's Study