Based on a binary search algorithm – how do you find the maximum number of iterations for a list of 5 numbers? 7? 9?
Question & Answer
Based on a binary search algorithm – how do you find the maximum number of iterations for a list of 5 numbers? 7? 9?
1 Answer
Verified archive5- 3 iterations. 7- 3 iterations. 9- 4 iterations. However many bits you would need to display information. See flippy do