Notice
250x250
Recent Posts
Recent Comments
Link
목록2024/05/17 (1)
넘치게 채우기
[LeetCode] 1325. Delete Leaves With a Given Value
https://leetcode.com/problems/delete-leaves-with-a-given-value/description/leetcode - Delete Leaves With a Given Value문제 유형 : 이진트리, dfs, 재귀문제 난이도 : Medium 문제Given a binary tree root and an integer target, delete all the leaf nodes with value target.Note that once you delete a leaf node with value target, if its parent node becomes a leaf node and has the value target, it should also be deleted (..
PS/LeetCode
2024. 5. 17. 12:02