Pulsars
0 %
Log inSign up

Maximum number of steps

Short answer

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)?