EntHire interview question

it was a discrete binary search question.