Problem 515 · Medium

Find Largest Value in Each Tree Row

Find the largest value in each row of a binary tree.

Open the interactive visualisation