Skip to main contentSkip to solution

Identify the search technique:

It is useful when we need to search for an item in a small unsorted list, but it is slow and time-consuming when the list contains a large number of items. The time taken to search the list increases as the size of the list increases.

Solution

✅ Correct Option: 3

Linear search checks each item one by one from the start until the target is found or the list ends. It needs no sorting, so it suits small unsorted lists. In the worst case it compares every element, so the time grows in direct proportion to the list size, which is O(n)O(n).


Binary search: needs a sorted list and halves the search range each time, so it stays fast even for large lists.

Hashing: finds an item directly from its key using a hash function, in about constant time on average, so the time does not grow with the list size.

Jump search: also needs a sorted list, and skips ahead in blocks of fixed size.

Keyboard Shortcuts

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