Binary Search Takes a sorted sequence of elements and figures out if a given element is within that sequence. We'll do this with a series of repeated comparisons. We compare the middle number of our sequence to the item we're searching for. This determines if we continue looking right or left of the midpoint.
The Binary Search Algorithm has a complexity of log2(n) because it doesn't matter how many elements we pass to the algorithm. We'll still cut the entire data set in half each iteration, so the results will happen pretty quickly.
Nesta página do site você pode assistir ao vídeo on-line Binary Search - PyCharm Python - Tutorial #59 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Filippo Carcano 14 Maio 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 56 vezes e gostou 2 espectadores. Boa visualização!