摘要: 原题链接在这里:https://leetcode.com/problems/maximum-level-sum-of-a-binary-tree/description/ 题目: Given the root of a binary tree, the level of its root is 1, 阅读全文
posted @ 2024-03-20 10:35 Dylan_Java_NYC 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/recover-a-tree-from-preorder-traversal/description/ 题目: We run a preorder depth-first search (DFS) on the root o 阅读全文
posted @ 2024-03-20 10:08 Dylan_Java_NYC 阅读(2) 评论(0) 推荐(0) 编辑