LeetCode Question · Jun 2016 · Los Angeles

LinkedIn | Find Leaves of Binary Tree

12 upvotes 14,605 views 18 replies

Question Details

Given a imbalance binary tree, print the leaf nodes then remove those leaf node, print the new leaf nodes until only root node left. For example: 1 / \\ 2 3 ...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Binary Tree