Concept Flow - BST Inorder Successor
Start at root node
Find node with target value
Does node have right child?
Yes→Go to right child
Find leftmost node in right subtree
Go up to parent while node is right child
Return parent as successor or null if none
Find the node, then if it has right child, successor is leftmost node in right subtree; else go up to parent until node is left child.