We can do it in O(nlogn) time.
Step1:->Sort the array.O(nlogn)
Step2:->Construct Balanced Bst from Sorted array O(n) time.
http://www.geeksforgeeks.org/sorted-array-to-balanced-bst/
So max(step1,step2)= O(nlogn) is ans.
Note:->
1.As here making bst is concern we can always make balanced bst .
2.Here the data is already stored in an array in sorted manner and we are making balanced bst ;So skewed array case will never occur which makes O(n2).