Answer:
Three Times.
Step-by-step explanation:
First and foremost a binary search requires that the array be sorted in ascending or descending order.
After the initial step the search goes to the middle most value
i.e.
will be the second 14, which is the first iteration.
Since 14 is less than 19 the search will eliminate the lower half of the including 14, and will iterate again through the array:
![[15,18,18,19,19]](https://tex.z-dn.net/?f=%5B15%2C18%2C18%2C19%2C19%5D)
The array will go to the middle most value which is 18, second iteration. Since 18 is less than 19, the program will eliminate the lower half and be left with two values i.e.
.
The search will run once i.e. third iteration, and will return key value found.
Answer:
i think this is what u want
Step-by-step explanation:
please mark brainliest
-1 is the first line after 0
8 is 3rd line one the right side after 5
-11 is just first line after 10..
I hope U understand
Answer:
The first law of motion
Step-by-step explanation: