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

GPD2021

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

GPD2021

검색하기 폼
  • 분류 전체보기 (821)
    • 자료구조 알고리즘 (719)
      • 백준 (700)
      • JavaScript 자료구조 알고리즘 (5)
    • HTML_CSS (47)
      • CSS Battle (10)
    • Javascript (0)
    • Node.js (14)
    • 블록체인 (19)
  • 방명록

KMP (1)
Node.js) 백준 13220번: Secret

https://www.acmicpc.net/problem/13220 const [n, a, b] = require('fs') .readFileSync('./dev/stdin') .toString() .trim() .split('\n') .map((v) => v.trim());/** * @param {string} word * @return {number[]} */function buildPatternTable(word) { const patternTable = [0]; let prefixIndex = 0; let suffixIndex = 1; while (suffixIndex 0) { wordIndex = patternTable[wordIndex - 1]; } else { textInd..

자료구조 알고리즘/백준 2025. 5. 17. 23:45
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • MySQL
  • 서버점검
  • 다이나밍프로그래밍
  • 롱베케이션
  • 개발자면접
  • DB 생성
  • 최소공통조상
  • 서버개발
  • 투포인터
  • 그래프
  • 면접비
  • 투포인터 연습
  • 다이나믹프로그래밍
  • KMP
  • 로드나인
  • MOD
  • create db
  • 동적프로그래밍
  • 면접질문
  • BFS
  • create databases;
  • node.js
  • 은둔청년체험
more
«   2025/05   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바