366. Find Leaves of Binary Tree
2016-12-06 本文已影响0人
我是你的果果呀
Given a binary tree, collect a tree's nodes as if you were doing this: Collect and remove all leaves, repeat until the tree is empty.
DFS好烦,大神用高度相等的办法递归
Given a binary tree, collect a tree's nodes as if you were doing this: Collect and remove all leaves, repeat until the tree is empty.
DFS好烦,大神用高度相等的办法递归