135. 문자열의 앞의 n글자

프로그래머스 (181907)
Stupefyee's avatar
Mar 12, 2025
135. 문자열의 앞의 n글자
notion image
 

내가 작성한 코드

class Solution { public String solution(String my_string, int n) { return my_string.substring(0, n); } }
Share article

stupefyee