[프로그래머스 | Lv. 1 | JavaScript] 둘만의 암호
·
알고리즘/문제
Link코딩테스트 연습 - 둘만의 암호 문제풀이(1)function solution(s, skip, index) { const alphabet = ['a', 'b', 'c', 'd', 'e', 'f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z']; const skipSet = new Set(skip); const filtered = alphabet.filter(c => !skipSet.has(c)) const len = filtered.length; let tmp = [] for (let i = 0; i (2)function solution(s, skip, index)..