contestada

The list listone is a sorted list of numbers that contains 700 elements. The list listtwo is a sorted list of numbers that contains 900 elements. Let x represent the maximum number of list elements that will need to be examined when performing a binary search for a value in listone, and let y represent the maximum number of list elements that will need to be examined when performing a binary search for a value in listtwo. Which of the following statements about x and y is true?.

Respuesta :

Based on the information given and the binary search performed, the value of x will be approximately equal to the value of y.

Binary Search

Number of elements in list One = 70

Number of elements in the list Two = 90

To perform a binary search in list one where y describes the maximum amount of list elements to be looked at in list two, the value of x needs to be almost equivalent to the y's value so that the research could successfully take place.

Learn more about binary on:

https://brainly.com/question/19389656

Otras preguntas