LeetCode 515. Find Largest Value in Each Tree Row這個可以用bfs 解題,外加一個層的信息。請看代碼 分享到: 閱讀更多 跟黃哥學編程 的文章 關鍵字: 黃哥 Python 解題