programmers
-
Programmers 순위 검색알고리즘 풀이/Search 2021. 8. 27. 23:19
링크 : https://programmers.co.kr/learn/courses/30/lessons/72412 if (checked[j]) { str.append("-") } else { str.append(strs[j]) } } val key = str.toString() val score = strs[4].toInt() if(map.containsKey(key)) { map[key]!!.add(score) }else { map[key] = mutableListOf(score) } } for(i in index until 4) { checked[i] = true recursive(map, strs, checked, i+1,depth+1, max_depth) checked[i] = false } } fu..