1.

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 SearchMy query is from Parallel Array in section Arrays Types of Data Structures & Algorithms II have been asked this question during an interview.

Answer»

Correct option is (C) BINARY Search

The best explanation: Since the array is sorted, binary search is preferred as its TIME complexity is O(logn).



Discussion

No Comment Found

Related InterviewSolutions