Problems
Contest
Discuss
Interview
Online Interview
Assessment
Store
Redeem
Premium
For you
For you
Create
Most Votes
All Time
Newest
No search result
Create
Google | Onsite | Farthest leaf from each node
Anonymous User
4614
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
Explore
Download App
Support
Terms
Privacy Policy
More
Copyright © 2026 LeetCode
United States