This repository was archived by the owner on Mar 18, 2024. It is now read-only.
Conversation
Closed
ksumini
approved these changes
Jul 3, 2023
Contributor
|
깔끔한 풀이인 것 같아요..! union-find 관련 다른 문제들도 많이 풀어보시면 좋을 것 같아요! |
limstonestone
approved these changes
Jul 3, 2023
Contributor
limstonestone
left a comment
There was a problem hiding this comment.
고생하셨습니다 !! 풀이 감사해요 ~!
zsmalla
approved these changes
Jul 3, 2023
Contributor
zsmalla
left a comment
There was a problem hiding this comment.
예림님 덕에 동일한 접근, 풀이지만 디테일의 차이로 많은 인사이트를 얻어갈 수 있었던 것 같습니다! 고생하셨어요!
Contributor
There was a problem hiding this comment.
구현할 때 저는 while문이 조금 더 직관적이어서 활용하기 쉬웠던 것 같습니다! 일반적으로는 예림님 풀이처럼 재귀로 많이 접근하더라구요! 재귀를 활용한 find 방식을 볼 수 있어서 좋았습니다!
Contributor
There was a problem hiding this comment.
이 부분 매번 find 안해줘도 되는 것을 덕분에 알게 되었습니다~ 조금 더 제약 조건이 빡센 문제에서는 이런 디테일도 잘 챙겨야 할 것 같아요!
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
PR Summary
프로그래머스 - 표 병합
ISSUE NUMBER