Laza's Note
LeetCode
2022年9月8日 星期四
814. Binary Tree Pruning
給一個二元樹,若分支下的節點皆為0,則將其分支移除,最後
返回同一棵樹。
more »
2022年9月7日 星期三
429. N-ary Tree Level Order Traversal
給一個n-ary的樹,如下圖,將其依節點與根的相對位置,整理為List<List<Integer>>
more »
較新的文章
較舊的文章
首頁
訂閱:
文章 (Atom)