employer cover photo
employer logo
employer logo

Motherson Technology Services

Is this your company?

Motherson Technology Services Interview Question

What is Binary sorting and explain its algorithm

Interview Answer

Anonymous

Sep 21, 2021

Binary search works on sorted arrays. Binary search begins by comparing an element in the middle of the array with the target value. If the target value matches the element, its position in the array is returned. If the target value is less than the element, the search continues in the lower half of the array.