[LeetCode] Inorder Successor in BST - Eason Liu - 博客园
Given a binary search tree and a node in it, find the in-order successor of that node in the BST.
Note: If the given node has no in-order successor in the tree, return null
.
Read full article from [LeetCode] Inorder Successor in BST - Eason Liu - 博客园
No comments:
Post a Comment