+1 vote
in Data Structures & Algorithms I by (110k points)
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

My query is from Parallel Array in section Arrays Types of Data Structures & Algorithms I

I have been asked this question during an interview.

1 Answer

+1 vote
by (408k points)
selected by
 
Best 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).

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.

Categories

...