Class Solution
-
- All Implemented Interfaces:
public final class Solution
-
-
Constructor Summary
Constructors Constructor Description Solution()
-
Method Summary
Modifier and Type Method Description final TreeNode
lowestCommonAncestor(TreeNode root, TreeNode p, TreeNode q)
-
-
Method Detail
-
lowestCommonAncestor
final TreeNode lowestCommonAncestor(TreeNode root, TreeNode p, TreeNode q)
-
-
-
-