Given the `root` of a binary search tree, rearrange the tree **in in-order** so that the leftmost node in the tree is now the root of the tree, and every node has no left child and only one right child.
Given the root of a binary search tree, rearrange the tree in in-order so that the leftmost node in the tree is now the root of the tree, and every node has no left child and only one right child.
Make a dummy node and point tail at it. An inorder walk meets the values in increasing order, so each visited node is simply hung on the right of tail.
original treenew tree: right children onlydummy536248179