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

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 @ 2019-02-23 23:56  Grandyang  阅读(4066)  评论(3)    收藏  举报
Fork me on GitHub