Pergunta de entrevista da empresa WD

Binary search algorithm and worst time complexity