반응형
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 |
Tags
- 프로그래머스 레벨 2
- type challenge
- Algorithm
- Node.js
- 가천대
- 그래프
- ip
- 자바스크립트
- Nestjs
- Crawling
- 타입 챌린지
- dfs
- 쉬운 문제
- 백준
- 문자열
- HTTP
- 크롤링
- 프로그래머스
- BFS
- 소켓
- socket
- javascript
- typescript
- 타입스크립트
- HTTP 완벽 가이드
- TCP
- 알고리즘
- 레벨 1
- 수학
- dp
Archives
- Today
- Total
목록Permutation type (1)
kakasoo
Permutation, 타입으로 순열 구현하기
타입 챌린지의 문제인데, 미디움에 있었다. 끔찍한 수준의 난이도인데 이게 왜 medium인지 모르겠다. 아래에 문제를 이해하기 위해 필요한 지식과 해석 순서를 모두 기재하였으니 참고하도록 하자. 문제, 그리고 필요로 하는 결과 type cases = [ Expect, Expect, Expect, Expect, Expect, ] 분산적 조건 타입 type Singular = T extends never ? true : false; type IfAnySingular = Singular; // boolean 타입스크립트 핸드북 - 분산적 조건 타입 Documentation - Conditional Types Create types which act like if statements in the type sys..
프로그래밍/TypeScript
2023. 3. 31. 00:33