Pregunta de entrevista de Microsoft

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