Turn a lopsided BST into a height-balanced one with the same keys. Too many requests from your network. Please wait a minute.