Skip to main contentSkip to solution

_______________ is an exhaustive searching technique, where every element of a given list is compared with the item to be searched.

Solution

✅ Correct Option: 1

Linear search checks every element of the list one by one, from the first to the last, comparing each with the item being searched. It stops when a match is found or the list ends, which is why it is called exhaustive. It works on unsorted lists and takes O(n)O(n) time in the worst case.


Binary search: does not compare every element. It repeatedly halves a sorted list by comparing with the middle element.

Hashing: uses a hash function to compute the position of an item directly, without scanning the list.

Collision: not a searching technique. It is the situation in hashing when two keys map to the same index.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question