30:00
Given an integer array nums where the elements are sorted in ascending order, convert it to a height-balanced binary search tree.
1≤nums.length≤1041 \leq \text{nums.length} \leq 10^41≤nums.length≤104
−104≤nums[i]≤104-10^4 \leq \text{nums}[i] \leq 10^4−104≤nums[i]≤104
nums is sorted in strictly increasing order.
nums
Processing range [0, 4]
-10
-3
0
5
9
Tree will be built here