[프로그래머스] 모의고사
내가 푼 코드 public int[] solution(int[] answers) { int[] answer1 = {1, 2, 3, 4, 5}; int[] answer2 = {2, 1, 2, 3, 2, 4, 2, 5}; int[] answer3 = {3, 3, 1, 1, 2, 2, 4, 4, 5, 5}; HashMap count = new HashMap(); for(int i=0; i maxScore != count.get(key)); int[] answer = new int[list.size()]; for(int i=0; i