Microsoft interview question

Find the largest sub-array in an array. How would you re-balance a BST.