Given a node in a BST, how does one find the next higher key?
With Binary Search Tree, the algorithm to find the next highest node of a given node is basically finding the lowest node of the right sub-tree of that node.
The algorithm can just be simply:
Repeat 2 and 3 until we find next highest node.