Searching algorithms

EasyMediumHard
123456789
Question 3
Easy

An oceanographer is analyzing a dataset of depths (in km) for several marine trenches, stored in a one-dimensional array:

depths = [10.92, 8.60, 10.54, 7.29, 9.78, 6.12]

Explain why a binary search algorithm cannot be directly applied to search for a specific depth in this array.

[1]

Searching algorithms Questions

  1. GCSE
  2. /Computer Science
  3. /Searching algorithms