접미사인지 확인하기
https://school.programmers.co.kr/learn/courses/30/lessons/181908 문제 풀이 public class Solution { public int solution(String my_string, String is_suffix) { if (my_string.endsWith(i...
https://school.programmers.co.kr/learn/courses/30/lessons/181908 문제 풀이 public class Solution { public int solution(String my_string, String is_suffix) { if (my_string.endsWith(i...
https://school.programmers.co.kr/learn/courses/30/lessons/181843 문제 풀이 public class Solution { public int solution(String my_string, String target) { if (my_string.contains(targ...
https://school.programmers.co.kr/learn/courses/30/lessons/181842 문제 풀이 public class Solution { public int solution(String str1, String str2) { if (str2.contains(str1)) { // Stri...
https://school.programmers.co.kr/learn/courses/30/lessons/181907 문제 풀이 class Solution { public String solution(String my_string, int n) { return my_string.substring(0, n); // 문자...
https://school.programmers.co.kr/learn/courses/30/lessons/181845 문제 풀이 class Solution { public String solution(int n) { return String.valueOf(n); // String.valueOf(n)은 정수를 문자열로 ...
https://school.programmers.co.kr/learn/courses/30/lessons/181946 문제 풀이 import java.util.Scanner; public class Solution { public static void main(String[] args) { ...
https://school.programmers.co.kr/learn/courses/30/lessons/181940 문제 풀이 public class Solution { public String solution(String my_string, int k) { StringBuilder result = new Strin...
https://school.programmers.co.kr/learn/courses/30/lessons/181939 문제 풀이 public class Solution { public int solution(int a, int b) { String ab = Integer.toString(a) + Integer.toSt...
https://school.programmers.co.kr/learn/courses/30/lessons/181915 문제 풀이 public class Solution { public static String solution(String my_string, int[] index_list) { StringBuilder ...
https://school.programmers.co.kr/learn/courses/30/lessons/181936 문제 풀이 class Solution { public int solution(int number, int n, int m) { return (number % n == 0 && number...