time complexity in array
13) What can be the minimum time complexity to find the first instance of a given element in a sorted array which has many duplicate elements?
A) O(N)
B) O(NlogN)
C) O(logN)
D) O(N2)
1
1
13) What can be the minimum time complexity to find the first instance of a given element in a sorted array which has many duplicate elements?
A) O(N)
B) O(NlogN)
C) O(logN)
D) O(N2)