235.搜索两个结点的祖先
2016-03-24 本文已影响9人
BeijingIamback
Given a binary search tree (BST), find the lowest common ancestor (LCA) of two given nodes in the BST.
二叉搜索树的两个结点找他们的最低的公共祖先。
Given a binary search tree (BST), find the lowest common ancestor (LCA) of two given nodes in the BST.
二叉搜索树的两个结点找他们的最低的公共祖先。