프로그래머스 문자열의 뒤의 n글자 자바

    [프로그래머스, 181910] 문자열의 뒤의 n글자 (java)

    https://school.programmers.co.kr/learn/courses/30/lessons/181910 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr메모리: 81.6 MB, 시간: 0.02 ms사용 알고리즘: 문자열class Solution { public String solution(String my_string, int n) { return my_string.substring(my_string.length() - n, my_string.length()); }}