regular binary search

  1. compare the target value in a sorted list
  2. avoid infinite loop to always use start + 1 < end

results matching ""

    No results matching ""