로딩
요청 처리 중입니다...

백준 13244번 'Tree' 자바(JAVA) /Union-Find

 백준 13244번 'Tree' 자바(JAVA) /Union-Find

https://www.acmicpc.net/problem/13244 13244번: Tree 문제 One of the most important data structures in computer science is the tree. You already dealt with binary trees in the qualification round.

This problem is about general trees. Trees are the subset of graphs that have the following 3 properties: It is connected: for every node you can reach every ... www.acmicpc.net 난이도 : 골드4 소요시간 : 30분 [문제 해결 알고리즘] 그래프&트리 차이점을 익히고, Union-Find를 사용하는 문제입니다.

(사용 이유는 아래서 설명) Union-Find에 대한 내용은 아래 포스팅에 자세히 설명해두었습니...