Notice
250x250
Recent Posts
Recent Comments
Link
목록2024/04/16 (1)
넘치게 채우기
[LeetCode] 623. Add One Row to Tree
https://leetcode.com/problems/add-one-row-to-tree/description/ LeetCode - Add One Row to Tree 문제 유형 : 이진트리, dfs, 재귀 문제 난이도 : Medium 문제 Given the root of a binary tree and two integers val and depth, add a row of nodes with value val at the given depth depth. Note that the root node is at depth 1. The adding rule is: Given the integer depth, for each not null tree node cur at the depth depth - 1,..
PS/LeetCode
2024. 4. 16. 14:20