LEETCODE
UNLOCKED
Problems
Donate
Premium
Lowest Common Ancestor of a Binary Tree
Solution Code
Time Complexity
O(
N
)
Space Complexity
O(
N
)