complete problems/balanced-binary-tree/ by resursion