Skip to content

Conversation

@lkhyun
Copy link
Contributor

@lkhyun lkhyun commented Jun 24, 2025

🧷 문제 링크

https://www.acmicpc.net/problem/15681

🧭 풀이 시간

30분

👀 체감 난이도

✏️ 문제 설명

트리가 주어지고 특정 노드가 주어질때, 그 노드를 루트로 하는 서브트리 노드의 개수를 출력

🔍 풀이 방법

재귀, 그래프 탐색
기존 트리에서 루트부터 재귀적으로 자신이 가지는 자식 노드들의 개수를 합하여 저장해둠.

⏳ 회고

ez

@lkhyun lkhyun added the success 👍 해설을 보지 않고 풀었을 때 label Jun 24, 2025
@ShinHeeEul ShinHeeEul merged commit e1836c0 into main Jun 24, 2025
1 check passed
@oncsr
Copy link
Contributor

oncsr commented Jun 24, 2025

진짜... 벽 느껴진다..

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.

4 participants