프로그래머스 기능개발 java
-
Level2) 기능개발PS/programmers 2020. 11. 10. 13:21
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 import java.util.*; class Solution { public int[] solution(int[] progresses, int[] speeds) { Queue q = new LinkedList(); List list = new ArrayList(); int length = progresses.length; for (int i = 0; i