문제https://school.programmers.co.kr/learn/courses/30/lessons/131704 프로그래머스SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr 문제 풀이 (Java)import java.util.*;class Solution { public int solution(int[] order) { int answer = 0; Stack stack = new Stack(); int idx = 1; for (int i = 0; i 택배 상자를 보관하기 위해 Stack을 선언한다. order을 살펴보며 컨테이너 벨트에 놓인 택배 번호와 같다면 다음 값을 살펴본다. 번호가 같지 않다면 sta..