黃哥Python: Find Largest Value in Each Tree Row 解題思路

LeetCode 515. Find Largest Value in Each Tree Row


這個可以用bfs 解題,外加一個層的信息。

請看代碼