Question:

Which statement is incorrect in relation to searching an element in a list :

Updated On: Oct 18, 2024
  • Linear search checks the elements of a list, one at a time, without skipping any element
  • Binary search divides the list into two and check the element accordingly
  • Binary search always works on sorted list either ascending or descending
  • Linear search can be performed only if the list is sorted either ascending or descending
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

The correct option is (D) :Linear search can be performed only if the list is sorted either ascending or descending
Was this answer helpful?
0
0