Pergunta de entrevista da empresa Tata Consultancy Services

apply binary search and tell time complexity for it ?

Resposta da entrevista

Sigiloso

11 de jul. de 2025

i tell tell them first of all binary search is applied on sorted array . it divides the array in two part and calculate the mid on basis of mid it checks the target lies on which part of array.