English

Which is the most preferred technique used for finding a value in a list? -

Advertisements
Advertisements

Question

Which is the most preferred technique used for finding a value in a list?

Options

  • Bubble sort 

  • Binary search

  • Insertion sort 

  • Linear search

MCQ

Solution

Linear search

Explanation:

In terms of the available alternatives, binary search is the most used method. Compared to linear search, it is more effective. Other methods include the sorting algorithms bubble sort and insertion sort, which are not utilized for searching.

shaalaa.com
Linear Search
  Is there an error in this question or solution?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×