ConnectWise interview question

write a program to implement balanced binary tree