Convert Sorted Array to Binary Search Tree

Given an integer array nums sorted in strictly increasing order, construct a height-balanced binary search tree containing every value exactly once. Return any valid height-balanced BST. Different valid trees may result from the same array.

Examples
Input: [-10,-3,0,5,9]
Output: [0,-10,5,null,-3,null,9]
Hints

Convert Sorted Array to Binary Search Tree

Given an integer array `nums` sorted in strictly increasing order, construct a height-balanced binary search tree containing every value exactly once. Return any valid height-balanced BST. Different valid trees may result from the same array.