Doubt in binary search algorithm

Правка en1, от fischerman, 2020-10-13 13:21:12

A weird though came to my mind while writing binary search that why don't we use the geometric mean of start and end instead of arithmetic mean, I mean what would be the time complexity and why don't we use it?

Теги #binary search, #doubt, #algorithms

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский fischerman 2020-10-13 13:21:12 242 Initial revision (published)