endsWith 메소드 is_suffix가 my_string의 접미사인지 확인하는 법. → my_string.endsWith(is_suffix) class Solution { public int solution(String my_string, String is_suffix) { if(my_string.endsWith(is_suffix)) { return 1; } else { return 0; } } } 알고리즘 2023.09.17