In case even no of elements passed in array
But this construction isnt for Non balanced BST right?
But in that case doesnt the mid element has more elements on one side as compared to other??
root
/ \
/ \(N/2 elemnts)
(N/2 -1 elemnts )
simple you can see with the help of tree ( draw a tree )