1. Engineering
  2. Computer Science
  3. 1 20textbook chapter 3 page 145 exercise 26 modified use...

Question: 1 20textbook chapter 3 page 145 exercise 26 modified use...

Question details

1. [20%](Textbook Chapter 3, page 145, Exercise 26 modified) Use two runs of Version 1 of the Binary List Search algorithm in the Algorithms slides to decide whether 11 and 21 are in the following list: 11, 3, 6, 7, 12, 17, 21, 22, 25, 31, 43 In each of these runs, what are the numbers in the list compared with 11 and 21, respectively? You may assume that a b returns the integer immediately below the result if the result of the division is not an integer, e.g., 5/2 2.5 2, 10/25 5
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution