摘要: 思路: labuladong手把手带你刷二叉树(第二期) 按照题目给出的例子,输入的数组为[3,2,1,6,0,5],对于整棵树的根节点来说,其实在做这件事: TreeNode constructMaximumBinaryTree([3,2,1,6,0,5]) { // 找到数组中的最大值 Tree 阅读全文
posted @ 2021-06-07 17:34 鸭子船长 阅读(65) 评论(0) 推荐(0)