Divide and Conquer
Dividing a dataset into smaller chunks and then repeating a process with a subset of data.
Array search. Given a sorted array of integers, write a function called search, that accepts a value and returns the index where the value passed to the function is located. If the value is not found, return -1.
Last updated
Was this helpful?