Here elements are 1,2,3,..n hence we can found element in O(1) time in In-oder traversal .
hence it leads to O(n) time complexity.
But if the element set is [1,n] not sequential then to find element it takes O(logn).
hence in this case time worst case time complexity will be O(nlogn).
am i right @Arjun sir