반응형
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 | 31 |
Tags
- Next.js
- donwstream #upstream #origin
- raect typescript #react #typescript #styled-component
- 백준 #직각삼각형
- #useRef #언제 쓰는데?
- 노마드 코더 #타입스크립트 #typescript #class
- 버블링 #갭쳐링 #이벤트 #JS
- 다익스트라 #파티 #백준
- npm #not being able to find a file #npm install Error
- react fragment
- rate limit
- 빡킹독
- React #controlled component #비제어 컴포넌트 #제어 컴포넌트
- 얕은 복사 #깊은 복사 #shallow copy #deep copy
- JWT #토큰 #refreshToken #accessToken #Token #token #localStorage #sessionStorage
- React #Hook rules #Hook 규칙
- react #useCallback #react Hook
- 플로이드 #c++
- 이친수
- useState #Hooks
- DP #c++
- 코드스테이츠 #알고리즘 #그리디
- RateLimit
- axios
- html entities
- interceptors
- React-Query
- React #effect hook #useEffect
- React #리액트 이벤트 주기 #리액트 이벤트
- 백준 #적록색약
Archives
- Today
- Total
목록2023/05/11 (2)
꿈꾸는 개발자
하노이 탑은 유명한 재귀 문제 중 하나이다. 재귀에 대한 이해를 하기 위해서 하노이 탑을 푸는 아주 간략하게 설명하고자 한다(보다 자세한 설명은 이미 너무 많이 있음) function hanoi(n, start, des) { if (n === 1) console.log(`${start} to ${des}`); else { // 먼저 이동을 해야 한다. hanoi(n - 1, start, 6 - (start + des)); //마지막 기둥을 옮겨야지 console.log(`${start} to ${des}`); hanoi(n - 1, 6 - (start + des), des); } } 문제의 난이도와 관계없이 코드는 매우 간단하다....재귀의 가장 큰 아픔? 허무한 점인 것 같다...(재귀 너무 어려워....
알고리즘-js(개념+정형화된 코드)
2023. 5. 11. 20:52
메인 프로젝트 파일 구조 및 내용 정리 구조화하기
보호되어 있는 글입니다.
코드스테이츠
2023. 5. 11. 13:22