Answers for "Maximum number of comparisons required for searching an item using Binary search is 9. What can be the maximum size of array"

0

Create a program that finds the minimum value in these numbers

Create a program that finds the minimum value in these numbers:
Posted by: Guest on November-15-2019
-1

# get the largest number in a list and print its indexes

numbers = 1,3,11,42,12,4001
highestnumber = -999
for i in numbers:
  if i > highestnumber:
    highestnumber = i
print(numbers.index(highestnumber))
Posted by: Guest on January-29-2020

Code answers related to "Maximum number of comparisons required for searching an item using Binary search is 9. What can be the maximum size of array"

Python Answers by Framework

Browse Popular Code Answers by Language