Add partial solution to convert array to BST