반응형
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
- 가천대
- 크롤링
- 레벨 1
- javascript
- dp
- 백준
- 타입스크립트
- 자바스크립트
- 문자열
- dfs
- TCP
- HTTP 완벽 가이드
- type challenge
- ip
- typescript
- socket
- 프로그래머스
- HTTP
- BFS
- Node.js
- 알고리즘
- 소켓
- 수학
- 쉬운 문제
- 타입 챌린지
- Nestjs
- 프로그래머스 레벨 2
- Algorithm
- 그래프
- Crawling
Archives
- Today
- Total
목록이상한 문자 만들기 (1)
kakasoo

// 프로그래머스 레벨1 이상한 문자 만들기를 풀었습니다. function solution(s) { return s .split(" ") .map((el) => { el = el.split("").map((s, i) => { if (i % 2 === 0) return s.toUpperCase(); return s.toLowerCase(); }); return el; }) .map((el) => el.join("")) .join(" "); }
프로그래밍/알고리즘 풀이
2021. 6. 26. 12:49