해시1 [프로그래머스] 베스트앨범 - Hash (Java) import java.util.*; class Solution { public int[] solution(String[] genres, int[] plays) { //HashMap에 저장 //key: genre, value: hashmap HashMap genresAndPlays = new HashMap(); for(int i =0;i 2021. 8. 14. 이전 1 다음