![]() |
lowest-common-ancestor-of-a-binary-search-tree 1.0.0
Lowest Common Ancestor of a Binary Search Tree
|
Definition for a binary tree node. More...

Public Member Functions | |
| TreeNode (int x) | |
Data Fields | |
| int | val |
| TreeNode * | left |
| TreeNode * | right |
| TreeNode* TreeNode::left |
Definition at line 11 of file main.cpp.
Referenced by Solution::lowestCommonAncestor().
| TreeNode* TreeNode::right |
Definition at line 12 of file main.cpp.
Referenced by Solution::lowestCommonAncestor().
| int TreeNode::val |
Definition at line 10 of file main.cpp.
Referenced by Solution::lowestCommonAncestor(), and main().