Commure interview question

balanced binary search tree implementation