Notice
250x250
Recent Posts
Recent Comments
Link
목록2024/04/23 (1)
넘치게 채우기
[LeetCode] 310. Minimum Height Trees
https://leetcode.com/problems/minimum-height-trees/description/ Leetcode - Minimum Height Trees 문제 유형 : bfs / 위상 정렬 문제 난이도 : Medium 문제 A tree is an undirected graph in which any two vertices are connected by exactly one path. In other words, any connected graph without simple cycles is a tree. Given a tree of n nodes labelled from 0 to n - 1, and an array of n - 1 edges where edges[i] = [ai, bi]..
PS/LeetCode
2024. 4. 23. 22:08