본문 바로가기

개발하는 너구리

검색하기
개발하는 너구리
프로필사진 너구리개발자

  • 분류 전체보기 (105)
    • TIL (102)
    • 프로젝트 (2)
    • CodingTest (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
  • github
«   2025/07   »
일 월 화 수 목 금 토
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
  • 클로저
  • render phase
  • @tailwind base
  • 자바스크립트
  • 타입스크립트
  • unstable_nostore
  • SSR
  • revalidatetag
  • commit phase
  • client components
  • 프로그래머스
  • revalidatepath
  • iron-session
  • 3진법 뒤집기
  • @tailwind utility
  • interceptor routes
  • 리액트
  • sever components
  • RECOIL
  • js
  • image component
  • server components
  • static pages
  • @tailwind components
  • supabase realtime
  • dynamic pages
  • @tailwind
  • sever action
  • CSS
  • createbrowserrouter
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록CodingTest (1)

개발하는 너구리

JS - Week1 - Day 4

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
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바