Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 646 Bytes

File metadata and controls

44 lines (27 loc) · 646 Bytes

题目描述

您需要在二叉树的每一行中找到最大的值。

示例:

输入: 

          1
         / \
        3   2
       / \   \  
      5   3   9 

输出: [1, 3, 9]

解法

Python3

Java

...