Pregunta de entrevista de Tata Consultancy Services

apply binary search and tell time complexity for it ?

Respuesta de la entrevista

Anónimo

11 jul 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.