Given an array where elements are sorted in ascending order, convert it to a height balanced BST. 题目大意:给定一个升序序列的数组,将其转换为二叉搜索树. 解题思路:数组中间元素是根元素,根元素将数组划分为两部分,两个部分的中心元素分别为根元素的左右孩子,依次递推...可用迭代或递归来做. 解法一(迭代):迭代需要自己额外记录下标 public TreeNode sortedArrayToBST(i…