हिंदी

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

Advertisements
Advertisements

प्रश्न

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

विकल्प

  • Bubble sort 

  • Binary search

  • Insertion sort 

  • Linear search

MCQ
Advertisements

उत्तर

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 in Python
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×