原文:[LeetCode] 623. Add One Row to Tree 二叉树中增加一行

Given the root of a binary tree, then valuevand depthd, you need to add a row of nodes with valuevat the given depthd. The root node is at depth . The adding rule is: given a positive integer depthd, ...

2017-06-23 15:35 0 3154 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM