add a new way to balanced binary tree problem