원소들의 곱과 합
https://school.programmers.co.kr/learn/courses/30/lessons/181929 문제 풀이 class Solution { public int solution(int[] num_list) { int product = 1; int sum = 0; for ...
https://school.programmers.co.kr/learn/courses/30/lessons/181929 문제 풀이 class Solution { public int solution(int[] num_list) { int product = 1; int sum = 0; for ...
https://school.programmers.co.kr/learn/courses/30/lessons/181926 문제 풀이 public class Solution { public int solution(int n, String control) { char[] controlChars = control.toCharA...
https://school.programmers.co.kr/learn/courses/30/lessons/181861 문제 풀이 import java.util.ArrayList; public class Solution { public int[] solution(int[] arr) { ArrayList<Integ...
https://school.programmers.co.kr/learn/courses/30/lessons/181927 문제 풀이 class Solution { public int[] solution(int[] num_list) { int lastIdx = num_list.length - 1; ...
https://school.programmers.co.kr/learn/courses/30/lessons/181938 문제 풀이 class Solution { public int solution(int a, int b) { String abConcat = String.valueOf(a) + String.valueOf(...
https://school.programmers.co.kr/learn/courses/30/lessons/181892 문제 풀이 class Solution { public int[] solution(int[] num_list, int n) { int length = num_list.length - n + 1; // 새...
https://school.programmers.co.kr/learn/courses/30/lessons/181889 문제 풀이 public class Solution { public int[] solution(int[] num_list, int n) { int[] result = new int[n]; ...
https://school.programmers.co.kr/learn/courses/30/lessons/181935 문제 풀이 public class Solution { public int solution(int n) { int result = 0; if (n % 2 == 1) { // 홀수일 때 ...
https://school.programmers.co.kr/learn/courses/30/lessons/181944 문제 풀이 import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner sc = n...
https://school.programmers.co.kr/learn/courses/30/lessons/181840 문제 풀이 class Solution { public int solution(int[] num_list, int n) { for (int num : num_list) { // num_list를 순회하면...