Amdocs interview question

Coding- array p&C questions. binary search question