[LeetCode] 285. Inorder Successor in BST 二叉搜索树中的中序后继节点

Given a binary search tree and a node in it, find the in-order successor of that node in the BST. The successor of a node p is the node with the small
posted @ 2016-03-22 13:49  Grandyang  阅读(20386)  评论(9)    收藏  举报
Fork me on GitHub