henry / 4월 4주차 / 4문제 #12
Merged
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.
4월 4주차 알고리즘 풀이
문제 목록
[PGS] 자동완성 / lev4 / 4시간
[PGS] 풍선 터트리기 / lev3 / 2-3시간
[BOJ] 알고리즘 수업 - 선택 정렬 1 / bronze 1 / 1분 미만
[BOJ] 알고리즘 수업 - 선택 정렬 2 / bronze 1 / 1분 미만
문제 회고
문제 제목 : 문제 별 회고 (어떤 유형이었고, 어떻게 접근했고 등등)
자동완성 : Trie 자료 구조를 알지 못했다. 사실 알지 못하더라도 왼쪽/오른쪽으로 나눠서 사고하는 법을 알고 있었으면 풀 수 있었을 것 같다.
풍선 터트리기 : 전형적으로 왼쪽, 오른쪽으로 나눠서 접근하는 문제. 나아가 왼쪽 오른쪽에서 최솟값을 구해야 하는데, 효율성을 잡기가 어려웠다. O(n^2)를 O(n)으로 줄이기 위해 반복문을 쪼갤 줄 알아야 풀 수 있는 문제였다.
알고리즘 수업 - 선택 정렬 1/2 : 원래 파이썬으로 준비하려해서 풀었던 연습 문제. 하지만 파이썬 당분간은 안 할 듯 싶다.
이번 주 평가
다음주 계획