You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/resources/data.sql
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -9,4 +9,34 @@ INSERT INTO article (title, content, author, type, created_at, updated_at) VALUE
9
9
NOW(),
10
10
NOW()
11
11
);
12
+
INSERT INTO article (title, content, author, type, created_at, updated_at) VALUES ('이론 정리 - BFS 레벨 탐색', '<p>큐를 활용해 레벨 순으로 방문합니다.</p><p>최단 거리 문제에 자주 쓰입니다.</p>', '관리자', '이론정리', NOW(), NOW());
13
+
INSERT INTO article (title, content, author, type, created_at, updated_at) VALUES ('문제 풀이 - 14502 연구소', '<p>벽 3개를 세우고 안전 영역을 최대화합니다.</p><p>브루트포스 + BFS 조합을 연습하기 좋습니다.</p>', '관리자', '문제풀이', NOW(), NOW());
14
+
INSERT INTO article (title, content, author, type, created_at, updated_at) VALUES ('이론 정리 - 이분 탐색', '<p>정렬된 배열에서 구간을 절반씩 줄여 찾습니다.</p><pre><code>while (lo <= hi) {\n int mid = (lo + hi) / 2;\n}\n</code></pre>', '관리자', '이론정리', NOW(), NOW());
15
+
INSERT INTO article (title, content, author, type, created_at, updated_at) VALUES ('문제 풀이 - 2178 미로 탐색', '<p>격자 최단 거리는 BFS로 풉니다.</p><p>방문 배열을 반드시 확인합니다.</p>', '관리자', '문제풀이', NOW(), NOW());
INSERT INTO article (title, content, author, type, created_at, updated_at) VALUES ('이론 정리 - 투 포인터', '<p>두 개의 포인터를 움직이며 구간 조건을 만족합니다.</p><p>정렬 여부를 확인합니다.</p>', '관리자', '이론정리', NOW(), NOW());
35
+
INSERT INTO article (title, content, author, type, created_at, updated_at) VALUES ('문제 풀이 - 1806 부분합', '<p>최소 길이 부분합을 투 포인터로 해결합니다.</p>', '관리자', '문제풀이', NOW(), NOW());
36
+
INSERT INTO article (title, content, author, type, created_at, updated_at) VALUES ('이론 정리 - 슬라이딩 윈도우', '<p>고정 길이 구간을 이동하면서 계산합니다.</p><p>카운트 업데이트가 핵심입니다.</p>', '관리자', '이론정리', NOW(), NOW());
37
+
INSERT INTO article (title, content, author, type, created_at, updated_at) VALUES ('문제 풀이 - 12891 DNA 비밀번호', '<p>문자 빈도를 유지하면서 유효 조건을 검사합니다.</p>', '관리자', '문제풀이', NOW(), NOW());
38
+
INSERT INTO article (title, content, author, type, created_at, updated_at) VALUES ('이론 정리 - 스택과 큐', '<p>기본 자료구조의 동작을 정리합니다.</p><p>괄호 검사 예제를 포함합니다.</p>', '관리자', '이론정리', NOW(), NOW());
39
+
INSERT INTO article (title, content, author, type, created_at, updated_at) VALUES ('문제 풀이 - 10828 스택', '<p>스택의 기본 연산을 구현합니다.</p>', '관리자', '문제풀이', NOW(), NOW());
0 commit comments