Solution for convert sorted array to balanced BST.