99 problems: solve "Construct height-balanced binary trees".