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

Jul 11, 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.