출처 : https://school.programmers.co.kr/learn/courses/30/lessons/178870 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr import java.util.*; class Solution { public int[] solution(int[] sequence, int k) { int[] answer = new int[2]; //sequence값이 들어갈 큐 Queue q1=new LinkedList(); //값을 넣고 뺄 큐 Queue q2=new LinkedList(); //조건에 맞는 시작 인덱스와 끝 인덱..