In a sorted array, every element is repeated more than once except one. what will be the time complexity to find that element in the worst case?
@Shivansh Gupta
in this if you use binary search algorithm then still you will have to check every element .......means we are not getting advantages of BS algorithm....?
64.3k questions
77.9k answers
244k comments
80.0k users