Microsoft interview question

Balanced binary tree