프로그래머스33 Stack/Queue - Level 2, 주식가격 어렵다..난 이렇게밖에 못하겟던데.. 스택이나 큐를 이용해서 풀어야한다.. import java.util.*; class Solution { public int[] solution(int[] prices) { int[] answer = new int[prices.length]; int count = 0; for(int i=0; i 2021. 1. 14. 이전 1 ··· 6 7 8 9 다음