Turn a sorted array into a binary search tree of the smallest possible height, then check it is a valid BST.
Turn a sorted array into a binary search tree of the smallest possible height, then check it is a valid BST. Too many requests from your network. Please wait a minute.