Notice
250x250
Recent Posts
Recent Comments
Link
목록2024/07/18 (1)
넘치게 채우기
[LeetCode] 1530. Number of Good Leaf Nodes Pairs
https://leetcode.com/problems/number-of-good-leaf-nodes-pairs/description/leetcode - Number of Good Leaf Nodes Paris문제 유형 : 이진트리, 재귀문제 난이도 : Medium 문제You are given the root of a binary tree and an integer distance. A pair of two different leaf nodes of a binary tree is said to be good if the length of the shortest path between them is less than or equal to distance.Return the number of good leaf..
PS/LeetCode
2024. 7. 18. 12:13