Skip to main contentSkip to solution

___________ is a search technique that makes use of the ordering of elements in the list to quickly search for a key.

Solution

✅ Correct Option: 2

Binary Search works only on a sorted list. It compares the key with the middle element and discards half of the list each time, depending on whether the key is smaller or larger. This takes at most about log⁡2n\log_2 n comparisons.


Option 1: Linear Search checks elements one by one and does not use ordering, so it works on unsorted lists too.

Option 3: Hashing finds a key by computing an index from the key itself, not by using the order of elements.

Option 4: "Bubble Search" is not a standard search technique. Bubble Sort is a sorting algorithm, which is probably what this option is imitating.

Keyboard Shortcuts

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