DXC Technology interview question

Can you please do binary search coding?