홀수 vs 짝수
https://school.programmers.co.kr/learn/courses/30/lessons/181887 문제 풀이 class Solution { public int solution(int[] num_list) { int oddSum = 0; int evenSum = 0; f...
https://school.programmers.co.kr/learn/courses/30/lessons/181887 문제 풀이 class Solution { public int solution(int[] num_list) { int oddSum = 0; int evenSum = 0; f...
https://school.programmers.co.kr/learn/courses/30/lessons/181839 문제 풀이 public class Solution { public int solution(int a, int b) { int score = 0; if (a % 2 == 1...
https://school.programmers.co.kr/learn/courses/30/lessons/181878 문제 풀이 public class Solution { public int solution(String myString, String pat) { myString = myString.toLowerCase...
https://school.programmers.co.kr/learn/courses/30/lessons/181901 문제 풀이 import java.util.*; class Solution { public int[] solution(int n, int k) { List<Integer> result = n...
https://school.programmers.co.kr/learn/courses/30/lessons/181853 문제 풀이 import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; public clas...
https://school.programmers.co.kr/learn/courses/30/lessons/120893 문제 풀이 class Solution { public String solution(String my_string) { char[] chars = my_string.toCharArray(); // 문자열...
https://school.programmers.co.kr/learn/courses/30/lessons/120837 문제 풀이 public class Solution { public int solution(int hp) { // 장군개미 5마리로 나눈 몫을 구한다. int ants = hp / 5; ...
https://school.programmers.co.kr/learn/courses/30/lessons/120839 문제 풀이 import java.util.HashMap; import java.util.Map; public class Solution { public static String solution(String rsp)...
https://school.programmers.co.kr/learn/courses/30/lessons/181884 문제 풀이 public class Solution { public int solution(int[] numbers, int n) { int sum = 0; for (int i = 0; i...
https://school.programmers.co.kr/learn/courses/30/lessons/181899 문제 풀이 import java.util.*; class Solution { public List<Integer> solution(int start_num, int end_num) { Li...