https://practice.geeksforgeeks.org/problems/populate-inorder-successor-for-all-nodes/1