문제의상https://school.programmers.co.kr/learn/courses/30/lessons/42578 예시 코드function solution(clothes) { const clothesCount = new Map(); let combs = 1; clothes.forEach(([_, type]) => { clothesCount.set(type, (clothesCount.get(type) || 0) + 1); }); for (const [_, cnt] of clothesCount) { combs *= cnt + 1; } return combs - 1;} 풀이서로 다른 옷의 조합 수를 구하는 문제입니다. 옷을 입을 때는 다음과 같은 규칙을 따릅니다.종류별로 최대 ..