Problems
Contest
Discuss
Interview
Store
For you
For you
Create
Most Votes
All Time
Newest
No search result
Create
Google | Onsite | Farthest leaf from each node
Anonymous User
4622
Tree
Google
Onsite
Interview
Find the farthest leaf from each node in a binary tree. The expected runtime complexity is O(N).
9
13
Comments (13)
Sort by:
Best
Comment
1
2
Download App
Support
Terms
Privacy Policy
More
Copyright © 2026 LeetCode
United States