Correct answer is (c) O(n^2)
Explanation: For the binary tree sort the worst case when the BST constructed is unbalanced. BST gets unbalanced when the elements are already sorted. So, in the worst case, O(n^2) time is required to built the BST and O(n) time to traverse the tree. Therefore, the worst case time complexity is O(n^2) + O(n) = O(n^2).