【Leetcode_总结】515. 在每个树行中找最大值 - python

Q: 您需要在二叉树的每一行中找到最大的值。 示例: 输入: 1 / \ 3 2 / \ \ 5 3 9 输出: [1, 3, 9] 链接:https://leetcode-cn.com/problems/find-largest-value-in-each-tree-row/ 思路:层次遍
相关文章
相关标签/搜索