MindGeek interview question

How do you balance a binary tree?