employer cover photo
employer logo
employer logo

Tata Consultancy Services

Part of Tata Group

Engaged employer

Tata Consultancy Services interview question

apply binary search and tell time complexity for it ?

Interview Answer

Anonymous

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