Skip to content

Conversation

@zinnnn37
Copy link
Contributor

🧷 문제 링크

트리의 지름

🧭 풀이 시간

30분

👀 체감 난이도

✏️ 문제 설명

트리의 지름 구하기

🔍 풀이 방법

트리의 특성상 임의의 한 노드에서 가장 먼 노드는 트리 지름의 한쪽 끝임이 보장됨
1부터 시작해서 가장 먼 노드를 찾고 그 노드와 가장 먼 노드를 찾으면 트리의 지름을 구할 수 있음

⏳ 회고

알쏭달쏭 디지털세계

@zinnnn37 zinnnn37 added the success 👍 해설을 보지 않고 풀었을 때 label Oct 24, 2025
@ShinHeeEul ShinHeeEul merged commit b69591f into main Oct 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

success 👍 해설을 보지 않고 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants