문제https://school.programmers.co.kr/learn/courses/30/lessons/132265 프로그래머스SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr 문제 풀이 (Java)class Solution { public int solution(int[] topping) { int answer = 0; int arr1[] = new int[10001]; int arr2[] = new int[10001]; int cnt1 = 0; int cnt2 = 0; for (int i = 0; i 일단 롤케이크 자르기 전 전체를 철수꺼라 생각하고 토핑 수를 센다. 그 후 앞에서부터 토핑 하나씩 동생한..