Papaya Global Interview Question

binary search code, pseudocode, and program.