[Solved] To search for an element in a sorted array, which searching technique can be used?

To search for an element in a sorted array, which searching technique can be used?

a) Linear Search
b) Jump Search
c) Binary Search
d) Fibonacci Search

Answer: c
Explanation: Since the array is sorted, binary search is preferred as its time complexity is O(logn).

Comments