Qualtrics Interview Question

Implement a binary search