본문 바로가기 메뉴 바로가기

sy의 코딩 개발일지

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

sy의 코딩 개발일지

검색하기 폼
  • 분류 전체보기 (102)
    • sparta 웹개발 종합반 개발일지 (12)
    • 개발일지 (5)
    • 생활코딩 (3)
    • 독학 (14)
      • html (4)
      • css (5)
      • JavaScript (2)
      • git,github (1)
      • sql (1)
      • php (1)
    • codestates (65)
      • section1 (10)
      • section2 (10)
      • section3 (12)
      • section4 (29)
      • preproject (3)
      • mainproject (1)
    • programmers (1)
      • Lv.0 (1)
  • 방명록

2023/02/28 (2)
알고리즘power

function power(base, exponent) { if (exponent === 0) return 1; const half = parseInt(exponent / 2); const temp = power(base, half); const result = (temp * temp) % 94906249; if (exponent % 2 === 1) return (base * result) % 94906249; else return result; } power(2,9) 함수를 호출하면 다음과 같이 작동한다. power(2, 9) 함수가 호출되면, exponent 값인 9가 0이 아니므로 2단계로 이동한다. exponent를 2로 나눈 몫인 4이 half 변수에 저장된다. 그리고 power(2, 4) 함수..

codestates/section3 2023. 2. 28. 15:18
SEO에 영향을 미치는 요소

실습 codestates codestates codestates codestates

codestates/section3 2023. 2. 28. 10:36
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2023/02   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바