반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- 프로그래머스 레벨 2
- 타입 챌린지
- 알고리즘
- 백준
- Crawling
- javascript
- 쉬운 문제
- 그래프
- ip
- socket
- dp
- Nestjs
- BFS
- 레벨 1
- Algorithm
- 수학
- 타입스크립트
- typescript
- 크롤링
- 문자열
- 프로그래머스
- 자바스크립트
- 가천대
- Node.js
- type challenge
- dfs
- HTTP 완벽 가이드
- 소켓
- TCP
- HTTP
Archives
- Today
- Total
목록수식 최대화 (1)
kakasoo

// 프로그래머스 레벨 2 [카카오 인턴] 수식 최대화 const getPriority = () => { const operator = ["+", "-", "*"]; const priority = []; let visited; let answer; const dfs = (start) => { visited[start] = true; answer.push(operator[start]); if (answer.length === 3) { priority.push([...answer]); } for (let i = 0; i < operator.length; i++) { if (!visited[i]) { visited[i] = true; dfs(i); visited[i] = false; answer.pop(); ..
프로그래밍/알고리즘 풀이
2021. 6. 30. 09:16