[Week08] jiwon#75
Open
seonjiwon wants to merge 1 commit into
Open
Conversation
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.
문제
시행착오
없음
최종 알고리즘 설계
우선 순위 큐를 이용한 풀이
최악 수행 시간 복잡도
mlogn특이 사항 (Optional)
없음
문제
시행착오
처음에는 연속된 4개의 수의 조합에서 2가지 씩 뽑아서 고려하는 것이 최소일 것이라 생각하였으나 실패함.
최종 알고리즘 설계
양쪽 두 값을 첫번째 눈사람으로 그 사이의 값의 조합을 두번째 눈사람으로 고려하여 두 합의 최솟값을 구함
최악 수행 시간 복잡도
O(N^3)특이 사항 (Optional)
python으로 제출할때는 시간 초과 발생 pypy로 제출하니 정답