{leetcode}/problems/find-largest-value-in-each-tree-row/[LeetCode - Find Largest Value in Each Tree Row^]
You need to find the largest value in each row of a binary tree.
Example:
Input: 1 / \ 3 2 / \ \ 5 3 9 Output: [1, 3, 9]
{leetcode}/problems/find-largest-value-in-each-tree-row/[LeetCode - Find Largest Value in Each Tree Row^]
You need to find the largest value in each row of a binary tree.
Example:
Input: 1 / \ 3 2 / \ \ 5 3 9 Output: [1, 3, 9]