일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- render phase
- client components
- @tailwind base
- @tailwind utility
- 자바스크립트
- revalidatetag
- @tailwind components
- @tailwind
- dynamic pages
- server components
- interceptor routes
- CSS
- unstable_nostore
- sever action
- static pages
- supabase realtime
- iron-session
- createbrowserrouter
- 3진법 뒤집기
- sever components
- 클로저
- RECOIL
- commit phase
- image component
- revalidatepath
- 리액트
- SSR
- 프로그래머스
- 타입스크립트
- js
Archives
- Today
- Total
목록CodingTest (1)
개발하는 너구리

Q. 숫자인 num을 인자로 넘겨주면, 뒤집은 모양이 num과 똑같은지 여부를 반환해주세요. num: 숫자 return: true or false (뒤집은 모양이 num와 똑같은지 여부) 예를 들어, num = 123 return false => 뒤집은 모양이 321 이기 때문 num = 1221 return true => 뒤집은 모양이 1221 이기 때문 num = -121 return false => 뒤집은 모양이 121- 이기 때문 num = 10 return false => 뒤집은 모양이 01 이기 때문 A. const sameReverse = (num) => { const arr = Array.from(num.toString()); //숫자형식의 num을 toString() 메소드로 문자열로 반..
CodingTest
2022. 12. 3. 03:34