Pergunta de entrevista da empresa Arista Networks

Given a BST node, find its inorder successor