Concept Flow - BST Inorder Successor
Start at root node
Find target node
Does target have right child?
Yes→Go to right child
Go left as far as possible
Go up to ancestor where node is in left subtree
Return found successor or None
Find the node, then if it has a right child, successor is leftmost node in right subtree; else go up to find ancestor where node is in left subtree.
