Conversation
🔥2025-09 챌린지 진행 상황👉 그래프
👉 구현
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🌱WIL
🚀주간 목표 문제 수: 4개
프로그래머스 #12905. 가장 큰 정사각형 찾기: DP / level2
정리한 링크: (바로가기)
🚩플로우 (선택)
-> dp[i,j] = min( (i-1,j), (i,j-1) , (i-1,j-1)) + 1 대입
🚩제출한 코드
백준 #1926. 그림: 그래프/ 실버1
정리한 링크: (바로가기)
🚩플로우 (선택)
🚩제출한 코드
💡TIL
-기본적인 그래프 탐색 알고리즘 문제이다.
백준 #5567. 결혼식: 그래프/ 실버2
정리한 링크: (바로가기)
🚩플로우 (선택)
2다리 이하 친구 관계만 초대 -> 총 인원수 파악
🚩제출한 코드
백준 #24501. blobaww: DP/ 골드3
정리한 링크: (바로가기)
🚩플로우 (선택)
알파벳 보드 입력받기와 E 와 M 의 위치 및 누적합를 나타내는 행렬 정의 ( 있으면 1, 없으면 0 으로 초기화)
E와 M 행렬 누적합 계산하기
dp[i][j] = dp[i-1][j] + dp[i][j-1] -dp[i-1][j-1 + value[i][j]soomi jeong / 3월 3주차 / 3문제 #3. S 을 기준으로 총 경우의 수 구하기
경우의 수 = E의 M 의 곱
🚩제출한 코드
💡TIL
[누적합 알고리즘]
i. 배열 An에서 인덱스 0 ~특정 인덱스 i 까지 구간합을 구하는 문제이다.
ii. 전체 요소의 단순 반복 합이 아닌 ** 이전 인덱스 (i-1) 까지의 누적합 + 현재 자신 i의 값** 으로 구현한다.
백준 #9251. LCS: DP/ 골드5
정리한 링크: (바로가기)
🚩플로우 (선택)
🚩제출한 코드
💡TIL
-Longest Common Subsequence : 연속적인 공통 문자열 찾기
| 참고자료 : https://velog.io/@jxlhe46/%EC%95%8C%EA%B3%A0%EB%A6%AC%EC%A6%98-%EC%B5%9C%EC%9E%A5-%EA%B3%B5%ED%86%B5-%EB%B6%80%EB%B6%84-%EC%88%98%EC%97%B4
백준 #12865. 평범한 배낭_2try: DP/ 골드5 (재도전)
정리한 링크: (바로가기)
🚩플로우 (선택)
. 입력 변수 입력받기
DP 정의
DP[k][i]: 최대 K kg 제한을 가진 가방안에 0~ i번쨰 item 까지 탐색 후 최대 가치배낭의 제한 무게를 0
K 씩 , 물건의 탐색 범위 0N로 반복하여 DP 점화식 계산하기물건 w > 배낭 무게제한 k : 물건 i는 배낭에 못 넣을 때 최대가치
dp[k][i] = dp[k][i-1]물건 w <= 배낭 무게제한 k : MAX(물건 i를 넣을 때 , 물건 i를 안 넣을 때)
dp[k][i] = max(item[v] + dp[k-w][i-1],dp[k][i-1])최종 배낭 제한이 K 일때, 최대 가치 출력 = dp[K][N]
🚩제출한 코드
💡TIL
[0-1 Knapsap problem 문제]
