Maximum number of steps
Short answerFor a sorted array of 1,000,000 elements, how many steps are needed at most in a binary search (rounded to the nearest whole number among the usual values)?
For a sorted array of 1,000,000 elements, how many steps are needed at most in a binary search (rounded to the nearest whole number among the usual values)?